Skip to content

Commit

Permalink
Update CI Runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Feb 12, 2025
1 parent b01f09d commit 9b7f205
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 27 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ env:
BUILD_TYPE: Release
REPO_DIR : ${{github.workspace}}
BUILD_DIR: ${{github.workspace}}/bin/builddir
BOOST_VERSION: "1.83.0"
BOOST_PLATFORM_VERSION: "13"

permissions:
contents: read

jobs:
build:
runs-on: macos-13
runs-on: macos-14
permissions:
contents: read

Expand All @@ -30,26 +28,10 @@ jobs:
run: |
brew install mysql-client
brew install openssl
brew install boost@1.85
echo "OPENSSL_ROOT_DIR=$(brew --prefix --installed openssl)" >> $GITHUB_ENV
- name: Install Boost
uses: MarkusJx/install-boost@v2.4.5
id: install-boost
with:
# REQUIRED: Specify the required boost version
# A list of supported versions can be found here:
# /~https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json
boost_version: ${{env.BOOST_VERSION}}
# OPTIONAL: Specify a platform version
platform_version: ${{env.BOOST_PLATFORM_VERSION}}
# OPTIONAL: Specify a toolset
toolset: clang
# NOTE: If a boost version matching all requirements cannot be found,
# this build step will fail

- name: Configure
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
run: cmake -DBUILD_ELUNA=ON -B ${{env.BUILD_DIR}} -S ${{env.REPO_DIR}} -DBoost_ARCHITECTURE=-x64

- name: Build
Expand All @@ -61,7 +43,7 @@ jobs:
permissions:
contents: none
name: Send Notification to Discord on Failure
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: # make sure the notification is sent AFTER the jobs you want included have completed
- build
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
notify:
name: Send Notification to Discord on Failure
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
contents: none
needs: # make sure the notification is sent AFTER the jobs you want included have completed
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/windows-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Windows Release Build

#
on:
schedule:
# every day at 6am
Expand Down Expand Up @@ -137,7 +136,7 @@ jobs:

notify-success:
name: Send Notification to Discord on Success
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
permissions:
contents: none
needs:
Expand Down Expand Up @@ -180,7 +179,7 @@ jobs:

notify:
name: Send Notification to Discord on Failure
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
permissions:
contents: none
needs: # make sure the notification is sent AFTER the jobs you want included have completed
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Windows Build

on: [push]
Expand Down Expand Up @@ -70,7 +69,7 @@ jobs:

notify:
name: Send Notification to Discord on Failure
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
permissions:
contents: none
needs: # make sure the notification is sent AFTER the jobs you want included have completed
Expand Down

0 comments on commit 9b7f205

Please sign in to comment.