Skip to content

Commit

Permalink
troubleshoot ci
Browse files Browse the repository at this point in the history
  • Loading branch information
billziss-gh committed Jan 4, 2025
1 parent f18dbe4 commit 2194098
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ jobs:
- os: ubuntu-latest
arch: amd64
cgo: 1
# disable macOS as we can no longer load macfuse
# - os: macos-10.15
# arch: amd64
# cgo: 1
- os: macos-latest
arch: amd64
cgo: 1
fail-fast: false

steps:
Expand Down Expand Up @@ -91,8 +90,8 @@ jobs:
rm -rf secfs.test/fstest/fstest/tests/xacl
rm -rf secfs.test/fstest/fstest/tests/zzz_ResourceFork
- name: Install FUSE and secfs.test (macOS)
if: runner.os == 'macOS'
- name: Install FUSE and secfs.test (macOS disabled)
if: false && runner.os == 'macOS'
run: |
brew install macfuse
Expand All @@ -114,17 +113,18 @@ jobs:
rm -rf secfs.test/fstest/fstest/tests/xacl
rm -rf secfs.test/fstest/fstest/tests/zzz_ResourceFork
- name: Build/test packages with FUSE2
- name: Build packages with FUSE2
run: |
go build -v -o . ./...
go build -tags=memfs3 -v -o memfs3${{ matrix.exe }} ./examples/memfs
go test -v -count=1 ./fuse
- name: Test file systems with FUSE2 (Windows)
if: runner.os == 'Windows'
run: |
Set-PSDebug -Trace 1
go test -v -count=1 ./fuse
$testexe = (Get-Item winfsp-tests\winfsp-tests-x64.exe)
Start-Process -NoNewWindow .\memfs.exe "-o uid=-1,rellinks,FileInfoTimeout=-1 X:"
Expand All @@ -151,11 +151,13 @@ jobs:
Start-Sleep 3
Pop-Location
- name: Test file systems (Linux / macOS) with FUSE2
if: runner.os == 'Linux' || runner.os == 'macOS'
- name: Test file systems (Linux / macOS disabled) with FUSE2
if: runner.os == 'Linux' || (false && runner.os == 'macOS')
run: |
set -x
go test -v -count=1 ./fuse
mkdir p mnt
sudo ./memfs -o allow_other,default_permissions,use_ino,attr_timeout=0 mnt &
Expand Down Expand Up @@ -186,13 +188,14 @@ jobs:
run: |
go build -tags=fuse3 -v -o . ./...
go build -tags=fuse3,memfs3 -v -o memfs3${{ matrix.exe }} ./examples/memfs
go test -tags=fuse3 -v -count=1 ./fuse
- name: Test file systems with FUSE3 (Linux)
if: runner.os == 'Linux'
run: |
set -x
go test -tags=fuse3 -v -count=1 ./fuse
mkdir p mnt
sudo ./memfs -o allow_other,default_permissions,attr_timeout=0 mnt &
Expand Down

0 comments on commit 2194098

Please sign in to comment.