Skip to content

Commit 28a6919

Browse files
authored
Run linux build in ubuntu:20.04 container (#76)
1 parent 851712b commit 28a6919

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-be.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,19 @@ jobs:
4848

4949
build-linux:
5050
runs-on: ubuntu-latest
51+
container:
52+
image: ubuntu:20.04
53+
env:
54+
XMAKE_ROOT: y
5155

5256
steps:
5357
- name: Checkout
5458
uses: actions/checkout@v4
5559
- name: Configure paths
5660
run: |
57-
mkdir -p artifacts/{verbose,release,debug}/{x86,x64}
61+
bash -c "mkdir -p artifacts/{verbose,release,debug}/{x86,x64}"
5862
- name: Install dependencies
59-
run: sudo apt-get update && sudo apt-get install -y git build-essential libreadline-dev ccache gcc-multilib g++-multilib
63+
run: apt-get update && apt-get install -y git build-essential libreadline-dev ccache gcc-multilib g++-multilib clang curl
6064
- name: Build Release
6165
run: |
6266
./build.sh

0 commit comments

Comments
 (0)