Handle KRB5P iovectors inside rpc_process_reply instead of in the nfs… #329
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
Linux-and-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends \ | |
ninja-build \ | |
nfs-kernel-server nfs-common \ | |
valgrind | |
- run: cmake -D ENABLE_TESTS=yes -B build -G Ninja | |
- run: ninja --verbose -C build | |
- run: sudo ninja --verbose -C build install | |
- run: sudo bash -c "cd build/tests;./test_0100_ls_basic.sh" | |
- run: sudo bash -c "cd build/tests;./test_0102_ls_discover_shares.sh" | |
- run: sudo bash -c "cd build/tests;./test_0200_stat.sh" | |
- run: sudo bash -c "cd build/tests;./test_0201_stat_paths.sh" | |
- run: sudo bash -c "cd build/tests;./test_0203_stat_symlink.sh" | |
- run: sudo bash -c "cd build/tests;./test_0210_fstat.sh" | |
- run: sudo bash -c "cd build/tests;./test_0211_fstat_paths.sh" | |
- run: sudo bash -c "cd build/tests;./test_0220_open_paths.sh" | |
- run: sudo bash -c "cd build/tests;./test_0223_open_O_TRUNC.sh" | |
- run: sudo bash -c "cd build/tests;./test_0224_open_O_APPEND.sh" | |
- run: sudo bash -c "cd build/tests;./test_0225_open_O_CREAT.sh" | |
- run: sudo bash -c "cd build/tests;./test_0230_creat_paths.sh" | |
- run: sudo bash -c "cd build/tests;./test_0240_link.sh" | |
- run: sudo bash -c "cd build/tests;./test_0250_rename.sh" | |
- run: sudo bash -c "cd build/tests;./test_0260_symlink_paths.sh" | |
- run: sudo bash -c "cd build/tests;./test_0270_unlink.sh" | |
- run: sudo bash -c "cd build/tests;./test_0280_mkdir_rmdir.sh" | |
- run: sudo bash -c "cd build/tests;./test_0290_read.sh" | |
- run: sudo bash -c "cd build/tests;./test_0300_write.sh" | |
- run: sudo bash -c "cd build/tests;./test_0310_mknod.sh" | |
- run: sudo bash -c "cd build/tests;./test_0320_lstat.sh" | |
- run: sudo bash -c "cd build/tests;./test_0321_lstat_paths.sh" | |
- run: sudo bash -c "cd build/tests;./test_0330_ftruncate.sh" | |
- run: sudo bash -c "cd build/tests;./test_0340_truncate.sh" | |
- run: sudo bash -c "cd build/tests;./test_0341_truncate_paths.sh" | |
- run: sudo bash -c "cd build/tests;./test_0350_lseek.sh" | |
- run: sudo bash -c "cd build/tests;./test_0360_statvfs.sh" | |
- run: sudo bash -c "cd build/tests;./test_0370_chmod.sh" | |
- run: sudo bash -c "cd build/tests;./test_0380_lchmod.sh" | |
- run: sudo bash -c "cd build/tests;./test_0390_fchmod.sh" | |
- run: sudo bash -c "cd build/tests;./test_0400_chown.sh" | |
- run: sudo bash -c "cd build/tests;./test_0410_lchown.sh" | |
- run: sudo bash -c "cd build/tests;./test_0420_fchown.sh" | |
- run: sudo bash -c "cd build/tests;./test_0450_utimes.sh" | |
- run: sudo bash -c "cd build/tests;./test_0460_opendir.sh" | |
- run: sudo bash -c "cd build/tests;./test_1000_mount_paths.sh" | |
- run: sudo bash -c "cd build/tests;./test_1010_chdir_paths.sh" | |
Linux-Musl-QEMU: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- i386 | |
- s390x # Test big-endian | |
- arm32v6 | |
- arm32v7 | |
steps: | |
- uses: actions/checkout@main | |
- name: Get the qemu container | |
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes | |
- name: ${{ matrix.platform }} | |
run: docker run --rm --interactive --mount type=bind,source=$(pwd),target=/host ${{ matrix.platform }}/alpine sh -c "apk add cmake samurai gcc libc-dev git && cp -r /host from-host && cd from-host && cmake -B build -G Ninja && ninja --verbose -C build install" | |
macOS: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@main | |
- run: brew install cmake | |
- run: cmake -B build | |
- run: make --directory build | |
build-windows: | |
name: Windows build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Cmake configure | |
run: | | |
cmake -G "Visual Studio 17 2022" . | |
- name: Build (MSVC) | |
run: | | |
cmake --build . | |
Cygwin: | |
runs-on: windows-latest | |
steps: | |
- name: Set up Cygwin | |
uses: cygwin/cygwin-install-action@master | |
with: | |
packages: ninja gcc-g++ bash cmake | |
- uses: actions/checkout@main | |
- shell: C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' | |
run: | | |
cd $GITHUB_WORKSPACE | |
cmake -B build -G Ninja | |
ninja --verbose -C build | |
build-ps2-ee: | |
name: PS2 EE build | |
runs-on: ubuntu-latest | |
container: ps2dev/ps2dev:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
apk add build-base git zip gawk python3 py3-pip bash | |
- name: git checkout | |
uses: actions/checkout@main | |
- name: make -f Makefile.PS2_EE | |
run: | | |
cd ps2_ee | |
make -f Makefile.PS2_EE clean | |
make -f Makefile.PS2_EE | |