Skip to content

Commit

Permalink
Bump Ubuntu runner's version & enable aarch64 builds :finger_crossed:
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jan 3, 2024
1 parent 6dd3cb7 commit aa5dcbd
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
strategy:
matrix:
os: [ linux ]
arch: [ x86_64 ]
arch: [ x86_64, aarch64 ]
compiler: [ ghc96 ]

runs-on: ${{ matrix.os == 'linux' && matrix.arch == 'aarch64' && 'buildjet-4vcpu-ubuntu-2204-arm' || 'ubuntu-latest' }}
runs-on: ${{ matrix.os == 'linux' && matrix.arch == 'aarch64' && 'buildjet-4vcpu-ubuntu-2204-arm' || 'ubuntu-22.04' }}

steps:
- name: 📥 Checkout repository
Expand Down Expand Up @@ -108,6 +108,7 @@ jobs:
chmod -w share
- name: 🔬 Version Sanity Check
id: version-check
shell: bash
run: |
OUTPUT=$(./bin/ogmios --version)
Expand All @@ -132,6 +133,7 @@ jobs:
echo ""
if [[ $OUTPUT == $TAG* ]] && [[ $OUTPUT == $VERSION* ]]; then
echo "tag=$TAG" >> $GITHUB_OUTPUT
echo "Ok."
exit 0
else
Expand All @@ -144,7 +146,7 @@ jobs:
- name: 📎 Upload Artifact
uses: actions/upload-artifact@v3
with:
name: ogmios-${{ matrix.arch }}-${{ matrix.os }}
name: ogmios-${{ steps.version-check.outputs.tag }}-${{ matrix.arch }}-${{ matrix.os }}
path: |
bin
share
Expand All @@ -161,7 +163,7 @@ jobs:
server_lint:
strategy:
matrix:
os: [ ubuntu-20.04 ]
os: [ ubuntu-22.04 ]
runs-on: ${{ matrix.os }}
steps:
- name: 📥 Checkout repository
Expand Down Expand Up @@ -222,7 +224,7 @@ jobs:
network: [ preview ]
cardano-node: [ 8.1.2 ]

runs-on: ${{ matrix.os == 'linux' && 'ubuntu-latest' }}
runs-on: ${{ matrix.os == 'linux' && 'ubuntu-22.04' }}
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -305,7 +307,7 @@ jobs:
needs: [clients_TypeScript]
strategy:
matrix:
os: [ ubuntu-20.04 ]
os: [ ubuntu-22.04 ]
target: [linux,macos,win.exe]
steps:
- name: 📥 Checkout repository
Expand Down Expand Up @@ -346,7 +348,7 @@ jobs:
needs: [clients_TypeScript]
strategy:
matrix:
os: [ ubuntu-20.04 ]
os: [ ubuntu-22.04 ]
package: [ schema, client, repl ]
steps:
- name: 📥 Checkout repository
Expand Down Expand Up @@ -401,7 +403,7 @@ jobs:
cardano-node-latest: [ 8.6.0-pre ]
arch: [ x86_64 ]

runs-on: ${{ matrix.os == 'linux' && 'ubuntu-latest' }}
runs-on: ${{ matrix.os == 'linux' && 'ubuntu-22.04' }}

steps:
- name: 📥 Checkout repository
Expand Down

0 comments on commit aa5dcbd

Please sign in to comment.