Skip to content

Commit 6a9bbc4

Browse files
committed
CI Update runners in the build-cppfront.yaml
1 parent 66c997d commit 6a9bbc4

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/build-cppfront.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,26 @@ on:
88
- 'docs/**'
99
workflow_dispatch:
1010

11+
permissions:
12+
# Restrict permissions to read-only for security
13+
contents: read
14+
15+
concurrency:
16+
# Specific group name to cancel in-progress builds for the same PR/ref
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
1120
jobs:
1221
build-windows:
13-
runs-on: windows-latest
22+
runs-on: windows-2025
1423
steps:
1524
- uses: actions/checkout@v4
1625
- uses: ilammy/msvc-dev-cmd@v1
1726
- name: Compiler name & version
1827
run: cl.exe
1928
- name: Build
2029
run: cl.exe source/cppfront.cpp -std:c++latest -MD -EHsc -W4 -WX
30+
2131
build-unix-like:
2232
strategy:
2333
fail-fast: false
@@ -35,7 +45,10 @@ jobs:
3545
- compiler: clang++-14
3646
cxx-std: 'c++2b'
3747
include:
38-
- runs-on: macos-latest
48+
- runs-on: macos-14
49+
compiler: clang++
50+
cxx-std: 'c++20'
51+
- runs-on: macos-15
3952
compiler: clang++
4053
cxx-std: 'c++20'
4154
- runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)