Skip to content

Commit

Permalink
Fix Windows CI yaml schema
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaskosunen committed Jan 13, 2024
1 parent ac2c71e commit 389c747
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 20 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/fuzz-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ name: ClusterFuzzLite batch fuzzing
on:
schedule:
- cron: '0 0/6 * * *' # Every 6th hour
push:
paths:
- '.github/**'
- 'benchmark/**'
- 'cmake/**'
- 'examples/**'
- 'include/**'
- 'src/**'
- 'tests/**'
- '**/CMakeLists.txt'
workflow_dispatch:

concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
type: [ Debug ]

env:
CCACHE_DIR: ${{ runner.workspace }}/ccache
CCACHE_DIR: D:/ccache

steps:
- name: Checkout
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
fail-fast: false
matrix:
os: [ 12, 11 ]
cxx: [ clang++, g++-13, g++-12, g++-11, g++-10 ]
cxx: [ brew-clang++, clang++, g++-13, g++-12, g++-11, g++-10 ]
std: [ 17, 20 ]
exclude:
- os: 11
Expand All @@ -73,6 +73,16 @@ jobs:
mkdir ${{ runner.workspace }}/build
brew install --overwrite ccache
- name: Setup Homebrew clang
if: ${{ matrix.cxx == 'brew-clang++' }}
run: |
llvm_root="$(brew --prefix llvm)"
echo "${llvm_root}/bin" >> $GITHUB_PATH
echo "CXX=clang++" >> $GITHUB_ENV
echo "LDFLAGS=-Wl,-rpath,${llvm_root}" >> $GITHUB_ENV
echo "CPPFLAGS=-isystem ${llvm_root}/include" >> $GITHUB_ENV
echo "CXXFLAGS=-isystem ${llvm_root}/include/c++/v1" >> $GITHUB_ENV
- name: Load ccache
uses: actions/cache@v3
with:
Expand All @@ -92,8 +102,6 @@ jobs:
- name: Run CMake
working-directory: ${{ runner.workspace }}/build
env:
CXX: ${{ matrix.cxx }}
run: |
cmake -DSCN_CI=ON -DCMAKE_CXX_STANDARD=${{ matrix.std }} $GITHUB_WORKSPACE
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ env:
CCACHE_ABSSTDERR: true
CCACHE_COMPRESS: true
CCACHE_COMPRESSLEVEL: 6
CCACHE_DIR: D:/ccache
CCACHE_MAXSIZE: 100M
CCACHE_NOHASHDIR: true
CCACHE_SLOPPINESS: "pch_defines,time_macros"
Expand All @@ -54,9 +55,6 @@ jobs:
type: [ Debug, Release ]
std: [ 17, 20 ]

env:
CCACHE_DIR: ${{ runner.workspace }}/ccache

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -181,9 +179,6 @@ jobs:
- sys: clang32
- sys: clang64

env:
CCACHE_DIR: ${{ runner.workspace }}/ccache

steps:
- uses: msys2/setup-msys2@v2
with:
Expand Down

0 comments on commit 389c747

Please sign in to comment.