Skip to content

Commit

Permalink
Build on Ubuntu 23.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Jul 30, 2023
1 parent b4e1a68 commit 79c3e1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/cmake-cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@ env:

jobs:
build-anisette-server-aarch64:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container: ubuntu:23.04

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install dependencies
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get update && sudo apt-get install -y gdc-13-aarch64-linux-gnu dub libz-dev
run: sudo apt-get update && sudo apt-get install -y gdc-13-aarch64-linux-gnu dub libz-dev

- name: Build
run: dub build :anisette-server -b release --compiler=aarch64-linux-gnu-gdc-13 -c "static"
Expand All @@ -37,17 +36,16 @@ jobs:
${{github.workspace}}/bin/anisette-server-aarch64.dbg
build-anisette-server-armv7:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container: ubuntu:23.04

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install dependencies
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get update && sudo apt-get install -y gdc-13-arm-linux-gnueabihf dub libz-dev
run: sudo apt-get update && sudo apt-get install -y gdc-13-arm-linux-gnueabihf dub libz-dev

- name: Build
run: dub build :anisette-server -b release --compiler=arm-linux-gnueabihf-gdc-13 -c "static"
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,16 @@ jobs:
${{github.workspace}}/bin/anisette-server-x86_64.dbg
build-anisette-server-i686:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container: ubuntu:23.04

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install dependencies
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get update && sudo apt-get install -y gdc-13-i686-linux-gnu dub libz-dev
run: sudo apt-get update && sudo apt-get install -y gdc-13-i686-linux-gnu dub libz-dev

- name: Build
run: dub build :anisette-server -b release --compiler=i686-linux-gnu-gdc-13 -c "static"
Expand Down

0 comments on commit 79c3e1e

Please sign in to comment.