actions/checkout requires Node.js, which isn't in archlinux:latest. Manual git clone + checkout FETCH_HEAD instead. Adds git to pacman.
This commit is contained in:
@@ -11,12 +11,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: archlinux:latest
|
container: archlinux:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
pacman -S --noconfirm clang cmake ninja
|
pacman -S --noconfirm clang cmake ninja git
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
run: |
|
||||||
|
git clone --depth 1 "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" .
|
||||||
|
git fetch origin "$GITHUB_REF"
|
||||||
|
git checkout FETCH_HEAD
|
||||||
|
|
||||||
- name: Build kappa
|
- name: Build kappa
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user