diff options
| author | jvoisin | 2023-08-20 19:02:03 +0200 |
|---|---|---|
| committer | jvoisin | 2023-08-20 20:51:19 +0200 |
| commit | bc50ed6c3de76c11b2dde92d0f28dd45941fc327 (patch) | |
| tree | 7cedd350931edc1ebcd23aeefd8cce3a8750c7a8 /.github | |
| parent | c17d47669ff12057f732f9ae3f69b22d52b4c6b5 (diff) | |
Fix clang build
- s/CLFAGS/CFLAGS/
- provide paths to local includes
- sprinkle more __pass_object_size__
- remove a problematic test
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/testsuite.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml index 4499452..e44f104 100644 --- a/.github/workflows/testsuite.yaml +++ b/.github/workflows/testsuite.yaml | |||
| @@ -34,6 +34,18 @@ jobs: | |||
| 34 | steps: | 34 | steps: |
| 35 | - name: Checking out the code | 35 | - name: Checking out the code |
| 36 | uses: actions/checkout@v3 | 36 | uses: actions/checkout@v3 |
| 37 | - name: Cache musl toolchain | ||
| 38 | uses: actions/cache@v3 | ||
| 39 | id: cache-musl | ||
| 40 | with: | ||
| 41 | path: x86_64-linux-musl-native | ||
| 42 | key: musl | ||
| 43 | - name: Downloading musl-based toolchain | ||
| 44 | if: steps.cache-musl.outputs.cache-hit != 'true' | ||
| 45 | run: wget --quiet https://musl.cc/x86_64-linux-musl-native.tgz | ||
| 46 | - name: Extracting musl-based toolchain | ||
| 47 | if: steps.cache-musl.outputs.cache-hit != 'true' | ||
| 48 | run: tar xzf ./x86_64-linux-musl-native.tgz | ||
| 37 | - name: Setting up clang version | 49 | - name: Setting up clang version |
| 38 | run: | | 50 | run: | |
| 39 | sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 | 51 | sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 |
