Skip to content

Commit

Permalink
ci: force ubuntu 22.04 build release (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
giangndm authored Dec 27, 2024
1 parent 78433db commit cfc9805
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
jobs:
build-console:
name: build-frontend
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
NEXT_PUBLIC_API_URL: /api/
steps:
Expand Down Expand Up @@ -85,71 +85,71 @@ jobs:
# - windows msvc x64
include:
- build: linux gnu x64
os: ubuntu-latest
os: ubuntu-22.04
rust: stable
target: x86_64-unknown-linux-gnu
extension: ""
cross: false
build_record_tool: true
build_record_worker: true
- build: linux musl x64
os: ubuntu-latest
os: ubuntu-22.04
rust: stable
target: x86_64-unknown-linux-musl
extension: ""
cross: false
- build: linux gnu aarch64
os: ubuntu-latest
os: ubuntu-22.04
rust: stable
target: aarch64-unknown-linux-gnu
extension: ""
cross: true
build_record_tool: true
build_record_worker: true
- build: linux musl aarch64
os: ubuntu-latest
os: ubuntu-22.04
rust: stable
target: aarch64-unknown-linux-musl
extension: ""
cross: true
# - build: linux gnueabihf arm
# os: ubuntu-latest
# os: ubuntu-22.04
# rust: stable
# target: arm-unknown-linux-gnueabihf
# extension: ""
# cross: true
# - build: linux gnueabihf armv7
# os: ubuntu-latest
# os: ubuntu-22.04
# rust: stable
# target: armv7-unknown-linux-gnueabihf
# extension: ""
# cross: true
# - build: linux gnu mips
# os: ubuntu-latest
# os: ubuntu-22.04
# rust: 1.71.1
# target: mips-unknown-linux-gnu
# extension: ""
# cross: true
# - build: linux gnuabi64 mips64
# os: ubuntu-latest
# os: ubuntu-22.04
# rust: 1.71.1
# target: mips64-unknown-linux-gnuabi64
# extension: ""
# cross: true
# - build: linux gnuabi64 mips64el
# os: ubuntu-latest
# os: ubuntu-22.04
# rust: 1.71.1
# target: mips64el-unknown-linux-gnuabi64
# extension: ""
# cross: true
# - build: linux gnu mipsel
# os: ubuntu-latest
# os: ubuntu-22.04
# rust: 1.71.1
# target: mipsel-unknown-linux-gnu
# extension: ""
# cross: true
# - build: linux musl aarch64
# os: ubuntu-latest
# os: ubuntu-22.04
# rust: stable
# target: aarch64-unknown-linux-musl
# extension: ""
Expand All @@ -171,13 +171,13 @@ jobs:
build_record_tool: true
build_record_worker: true
# - build: windows gnu x64
# os: ubuntu-latest
# os: ubuntu-22.04
# rust: stable
# target: x86_64-pc-windows-gnu
# extension: ".exe"
# cross: false
# - build: windows msvc x64
# os: windows-latest
# os: ubuntu-22.04
# rust: stable
# target: x86_64-pc-windows-msvc
# extension: ".exe"
Expand All @@ -195,7 +195,7 @@ jobs:
target: ${{ matrix.target }}

- name: Install dev-tools
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get install -y --no-install-recommends pkg-config musl-dev musl-tools
sudo ln -s /bin/g++ /bin/musl-g++
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
# only run if not a tags build
if: startsWith(github.ref, 'refs/tags/') == false
needs: build-release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v4
- name: Display structure of downloaded files
Expand All @@ -307,7 +307,7 @@ jobs:

deploy-docker:
needs: build-release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down

0 comments on commit cfc9805

Please sign in to comment.