Skip to content

Commit f3c8fc1

Browse files
committed
improve linux arm64 ci
1 parent a0298b7 commit f3c8fc1

File tree

3 files changed

+35
-72
lines changed

3 files changed

+35
-72
lines changed

.github/workflows/linux_arm64.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Linux (Arm64)
2+
3+
on:
4+
pull_request:
5+
push:
6+
release:
7+
types: [published]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-24.04-arm
12+
13+
concurrency:
14+
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Ubuntu-Arm64
15+
cancel-in-progress: true
16+
steps:
17+
- uses: actions/checkout@v2
18+
with:
19+
submodules: true
20+
- name: prepare local xmake
21+
run: cp -rf . ../xmake-source
22+
- uses: xmake-io/github-action-setup-xmake@v1
23+
with:
24+
xmake-version: local#../xmake-source
25+
26+
- name: Prepare
27+
run: |
28+
sudo apt update
29+
sudo apt install -y unzip build-essential llvm libc++-dev
30+
31+
- name: Tests
32+
run: |
33+
xmake lua -v -D tests/run.lua
34+
xrepo --version
35+

.github/workflows/ubuntu_arm.yml

-36
This file was deleted.

.github/workflows/ubuntu_arm64.yml

-36
This file was deleted.

0 commit comments

Comments
 (0)