test macos with fuse-t

This commit is contained in:
Jaromil 2023-04-27 10:26:28 +02:00
parent 571cdeafbf
commit 68a6335235

View File

@ -48,27 +48,38 @@ jobs:
with: with:
name: ubuntu-test.tomb name: ubuntu-test.tomb
path: portable path: portable
- name: Test in FreeBSD - name: Test in MacOS
id: test
uses: vmactions/freebsd-vm@v0
with:
usesh: true
prepare: |
pkg install -y sudo gmake bash fusefs-libs3 fusefs-lkl e2fsprogs wget
wget https://files.dyne.org/tomb3/third-party/veracrypt-freebsd13-amd64
mv veracrypt-freebsd13-amd64 /usr/bin/veracrypt
wget https://files.dyne.org/tomb3/third-party/zenroom-freebsd13-amd64
mv zenroom-freebsd13-amd64 /usr/bin/zenroom
chmod a+x /usr/bin/veracrypt /usr/bin/zenroom
kldload fusefs
run: | run: |
sudo gmake -C portable brew tap macos-fuse-t/homebrew-cask
sudo gmake -C portable check-random-data brew install fuse-t
- uses: actions/upload-artifact@v3 brew install fuse-t-sshfs
with: brew install veracrypt gmake bash e2fsprogs wget
name: freebsd-test.tomb wget https://files.dyne.org/zenroom/nightly/zenroom-osx.command
path: portable/test.tomb* mv zenroom-osx.command /usr/bin/zenroom
retention-days: 1 chmod +x /usr/bin/zenroom
gmake -C portable
# - name: Test in FreeBSD
# id: test
# uses: vmactions/freebsd-vm@v0
# with:
# usesh: true
# prepare: |
# pkg install -y sudo gmake bash fusefs-libs3 fusefs-lkl e2fsprogs wget
# wget https://files.dyne.org/tomb3/third-party/veracrypt-freebsd13-amd64
# mv veracrypt-freebsd13-amd64 /usr/bin/veracrypt
# wget https://files.dyne.org/tomb3/third-party/zenroom-freebsd13-amd64
# mv zenroom-freebsd13-amd64 /usr/bin/zenroom
# chmod a+x /usr/bin/veracrypt /usr/bin/zenroom
# kldload fusefs
# run: |
# sudo gmake -C portable
# sudo gmake -C portable check-random-data
# - uses: actions/upload-artifact@v3
# with:
# name: freebsd-test.tomb
# path: portable/test.tomb*
# retention-days: 1
ubuntu-last-cleanup: ubuntu-last-cleanup:
name: 🎯 final Ubuntu tests and cleanup name: 🎯 final Ubuntu tests and cleanup
@ -76,21 +87,21 @@ jobs:
needs: [freebsd] needs: [freebsd]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install compiler and dependencies # - name: Install compiler and dependencies
run: | # run: |
sudo apt-get install -q -y make openssl wget fuse3 util-linux # sudo apt-get install -q -y make openssl wget fuse3 util-linux
sudo make -C portable download-deps-ubuntu20 # sudo make -C portable download-deps-ubuntu20
- name: Download tomb built on FreeBSD # - name: Download tomb built on FreeBSD
uses: actions/download-artifact@v3 # uses: actions/download-artifact@v3
with: # with:
name: freebsd-test.tomb # name: freebsd-test.tomb
path: portable # path: portable
- name: Check integrity FreeBSD->Ubuntu # - name: Check integrity FreeBSD->Ubuntu
run: sudo make -C portable check-random-data # run: sudo make -C portable check-random-data
- name: delete FreeBSD tomb artifacts # - name: delete FreeBSD tomb artifacts
uses: geekyeggo/delete-artifact@v2 # uses: geekyeggo/delete-artifact@v2
with: # with:
name: freebsd-test.tomb # name: freebsd-test.tomb
- name: delete Ubuntu tomb artifacts - name: delete Ubuntu tomb artifacts
uses: geekyeggo/delete-artifact@v2 uses: geekyeggo/delete-artifact@v2
with: with: