Skip to content

Commit

Permalink
pin ubuntu version for compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jupyterkat committed Aug 19, 2023
1 parent 77c9782 commit e056e46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check compile
on: pull_request
jobs:
linux-build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-20.04
target_name: i686-unknown-linux-gnu
artifact_name: libauxmos.so
- os: windows-latest
Expand All @@ -34,14 +34,14 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install build-essential g++-multilib libc6-i386 libstdc++6:i386
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-20.04'

- name: Setup Toolchains (Ubuntu)
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: i686-unknown-linux-gnu
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-20.04'

- name: Build auxmos (Windows)
uses: actions-rs/cargo@v1
Expand All @@ -57,7 +57,7 @@ jobs:
toolchain: stable
command: build
args: --target i686-unknown-linux-gnu --release --features "generic_fire_hook katmos"
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-20.04'

- name: Upload binary to release
uses: svenstaro/upload-release-action@v1-release
Expand Down

0 comments on commit e056e46

Please sign in to comment.