summaryrefslogtreecommitdiff
path: root/.github/workflows/linux_arm64.yml
blob: c25081ef0a5ee806cb03b2478fa54f5707f1e23c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Linux (Arm64)

on:
  pull_request:
  push:
  release:
    types: [published]

jobs:
  build:
    runs-on: ubuntu-24.04-arm

    concurrency:
        group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Ubuntu-Arm64
        cancel-in-progress: true
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: true
      - name: prepare local xmake
        run: cp -rf . ../xmake-source
      - uses: xmake-io/github-action-setup-xmake@v1
        with:
          xmake-version: local#../xmake-source

      - name: Prepare
        run: |
          sudo apt update
          sudo apt install -y unzip build-essential llvm libc++-dev

      - name: Tests
        run: |
          xmake lua -v -D tests/run.lua
          xrepo --version