Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@ on:
jobs:
ubuntu-gcc-build:
name: ubuntu-${{ matrix.compiler }}-cpp${{ matrix.cppVersion }}-build
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc-12, gcc-14]
cppVersion: [17, 20]
include:
- compiler: gcc-12
cxx: g++-12
packages: gcc-12 g++-12
os: ubuntu-22.04
- compiler: gcc-14
cxx: g++-14
packages: gcc-14 g++-14
os: ubuntu-24.04

steps:
- uses: actions/checkout@v6
Expand All @@ -39,7 +35,7 @@ jobs:
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev ninja-build ccache ${{ matrix.packages }}
sudo apt-get install -y libcurl4-openssl-dev ninja-build ccache

- name: Configure
run:
Expand Down Expand Up @@ -70,19 +66,15 @@ jobs:

ubuntu-clang-build:
name: ubuntu-build-${{ matrix.compiler }}-C++${{ matrix.cppVersion }}
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
cppVersion: [17, 20]
compiler: [clang++-15, clang++-18]
compiler: [clang++-16, clang++-18]
include:
- compiler: clang++-15
os: ubuntu-22.04
packages: clang-15 lld-15
- compiler: clang++-16
enable_file_prefix_map: true
- compiler: clang++-18
os: ubuntu-24.04
packages: clang-18 lld-18
enable_file_prefix_map: true

steps:
Expand All @@ -99,7 +91,7 @@ jobs:
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev ninja-build ccache ${{ matrix.packages }}
sudo apt-get install -y libcurl4-openssl-dev ninja-build ccache

- name: Configure
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
update-generated-files:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/cache@v5
Expand All @@ -16,7 +16,7 @@ jobs:
ActionPriorityLists
profiles
.git
key: ubuntu-clang++-15-for_run-${{ github.sha }}-cpp-17
key: ubuntu-clang++-16-for_run-${{ github.sha }}-cpp-17

- uses: actions/checkout@v6

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
do-test: ${{ github.base_ref == github.event.repository.default_branch || github.ref_name == github.event.repository.default_branch }}

spec-test-selection:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
if: github.base_ref == github.event.repository.default_branch || github.ref_name == github.event.repository.default_branch
outputs:
spec-matrix: ${{ steps.select.outputs.spec-matrix }}
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
echo "Selected spec matrix: $SPEC_JSON"

environment-configuration-info:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Report Environment Configuration Information
run: |
Expand All @@ -202,7 +202,7 @@ jobs:
if: github.base_ref == github.event.repository.default_branch || github.ref_name == github.event.repository.default_branch
uses: ./.github/workflows/spec_test.yml
with:
cache-key: ubuntu-clang++-15-for_run-${{ github.sha }}-cpp-17
cache-key: ubuntu-clang++-16-for_run-${{ github.sha }}-cpp-17
is-ptr: false
spec-matrix: ${{ needs.spec-test-selection.outputs.spec-matrix }}

Expand All @@ -211,7 +211,7 @@ jobs:
if: github.base_ref == github.event.repository.default_branch || github.ref_name == github.event.repository.default_branch
uses: ./.github/workflows/spec_test.yml
with:
cache-key: ubuntu-clang++-15-for_run-${{ github.sha }}-cpp-17
cache-key: ubuntu-clang++-16-for_run-${{ github.sha }}-cpp-17
is-ptr: true
spec-matrix: ${{ needs.spec-test-selection.outputs.spec-matrix }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spec_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
spec-test:
name: spec-test-${{ matrix.spec }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
continue-on-error: ${{ inputs.is-ptr }}
timeout-minutes: 15

Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/ubuntu_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
jobs:
ubuntu-test:
name: ubuntu-${{ matrix.compiler }}-cpp-${{ matrix.cppVersion }}-${{ matrix.type }}
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
env:
CACHE_KEY: ubuntu-${{ matrix.compiler }}-for_run-${{ github.sha }}-cpp-${{ matrix.cppVersion }}
UBSAN_OPTIONS: print_stacktrace=1
Expand All @@ -19,16 +19,7 @@ jobs:
fail-fast: false
matrix:
cppVersion: [17, 20]
compiler: [clang++-15, clang++-18, gcc-12, gcc-14]
include:
- compiler: clang++-15
os: ubuntu-22.04
- compiler: clang++-18
os: ubuntu-24.04
- compiler: gcc-14
os: ubuntu-24.04
- compiler: gcc-12
os: ubuntu-22.04
compiler: [clang++-16, clang++-18, gcc-12, gcc-14]

steps:
- uses: actions/cache@v5
Expand All @@ -50,7 +41,7 @@ jobs:
run: ${{ runner.workspace }}/b/ninja/simc $SIMC_ARGS $SIMC_PROFILE iterations=10 fight_style=DungeonSlice allow_experimental_specializations=1 cleanup_threads=1

- name: Clear Cache
if: ( matrix.compiler != 'clang++-15' || matrix.cppVersion != '17' ) && github.event_name == 'push'
if: ( matrix.compiler != 'clang++-16' || matrix.cppVersion != '17' ) && github.event_name == 'push'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh cache delete ${{ env.CACHE_KEY }}
Loading