diff options
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r-- | .github/workflows/tests.yml | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d67b2d0..ff5242c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ permissions: contents: read jobs: - linux: + tests: name: Build (${{ matrix.cc }} and ${{ matrix.fuse_package }} on ${{ matrix.runs-on }}) runs-on: ${{ matrix.runs-on }} strategy: @@ -26,40 +26,46 @@ jobs: - cc: gcc cxx: g++ clang_major_version: null - clang_repo_suffix: null runs-on: ubuntu-22.04 fuse_package: libfuse-dev # FUSE 3 - cc: gcc cxx: g++ clang_major_version: null - clang_repo_suffix: null runs-on: ubuntu-22.04 fuse_package: libfuse3-dev - cc: clang-17 cxx: clang++-17 clang_major_version: 17 - clang_repo_suffix: -17 runs-on: ubuntu-22.04 fuse_package: libfuse3-dev - cc: clang-18 cxx: clang++-18 clang_major_version: 18 - clang_repo_suffix: -18 runs-on: ubuntu-22.04 fuse_package: libfuse3-dev - # fuse-t + # fuse-t, gcc - cc: gcc cxx: g++ clang_major_version: null - clang_repo_suffix: null runs-on: macos-15 fuse_package: fuse-t - # macFUSE + # fuse-t, clang + - cc: clang + cxx: clang++ + clang_major_version: null + runs-on: macos-15 + fuse_package: fuse-t + # macFUSE, gcc + - cc: gcc + cxx: g++ + clang_major_version: null + runs-on: macos-15 + fuse_package: macfuse + # macFUSE, clang - cc: clang cxx: clang++ clang_major_version: null - clang_repo_suffix: null runs-on: macos-15 fuse_package: macfuse steps: @@ -69,7 +75,7 @@ jobs: set -x source /etc/os-release wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo add-apt-repository "deb http://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}${{ matrix.clang_repo_suffix }} main" + sudo add-apt-repository "deb http://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-${{ matrix.clang_major_version }} main" - name: Install build dependencies if: "${{ runner.os == 'Linux' }}" @@ -91,6 +97,7 @@ jobs: if [[ ${{ matrix.fuse_package }} = macfuse ]]; then brew install --cask macfuse elif [[ ${{ matrix.fuse_package }} = fuse-t ]]; then + sudo mkdir -p /usr/local/include # https://github.com/macos-fuse-t/fuse-t/issues/77 brew tap macos-fuse-t/homebrew-cask brew install fuse-t else |