mirror of
https://github.com/AltraMayor/f3.git
synced 2025-08-03 10:35:57 -04:00
GitHub Actions: also test "volume" ./relative-path
This commit is contained in:
parent
204555d5df
commit
9c274d40e1
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@ -15,6 +15,7 @@ jobs:
|
||||
volume:
|
||||
- /tmp
|
||||
- .
|
||||
- relative-path
|
||||
- /
|
||||
asroot:
|
||||
- name: ''
|
||||
@ -30,6 +31,9 @@ jobs:
|
||||
- run: sudo apt-get install -y libparted-dev libudev-dev
|
||||
- run: make all extra
|
||||
|
||||
- if: matrix.volume == 'relative-path'
|
||||
run: mkdir relative-path
|
||||
|
||||
- if: matrix.volume == '/'
|
||||
run: sudo chmod a+w /
|
||||
|
||||
@ -52,6 +56,7 @@ jobs:
|
||||
volume:
|
||||
- /tmp
|
||||
- .
|
||||
- relative-path
|
||||
# MacOS denies `sudo chmod a+w /`
|
||||
#- /
|
||||
asroot:
|
||||
@ -68,6 +73,9 @@ jobs:
|
||||
- run: brew install argp-standalone
|
||||
- run: make
|
||||
|
||||
- if: matrix.volume == 'relative-path'
|
||||
run: mkdir relative-path
|
||||
|
||||
- run: ./f3write -V
|
||||
- run: ./f3write --help
|
||||
- run: ${{ matrix.asroot.sudo }}./f3write -s 2 -e 4 -w 50000 ${{ matrix.volume }}
|
||||
@ -89,6 +97,8 @@ jobs:
|
||||
windows: 'C:'
|
||||
- cygwin: .
|
||||
windows: .
|
||||
- cygwin: relative-path
|
||||
windows: relative-path
|
||||
- cygwin: /
|
||||
windows: 'C:\cygwin'
|
||||
|
||||
@ -104,6 +114,9 @@ jobs:
|
||||
|
||||
- run: "$Env:LDFLAGS = '-Wl,--stack,4000000'; make"
|
||||
|
||||
- if: matrix.volume.windows == 'relative-path'
|
||||
run: New-Item -ItemType Directory -Path relative-path
|
||||
|
||||
- run: '& .\f3write.exe -V'
|
||||
- run: '& .\f3write.exe --help'
|
||||
- run: '& .\f3write.exe -s 2 -e 4 -w 50000 ${{ matrix.volume.cygwin }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user