Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mufanc committed Dec 10, 2023
1 parent 17f1ad2 commit 33912e0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build CI

on:
push:
branches: [ master ]
branches: [ archlinux ]
paths-ignore:
- '**.md'
workflow_dispatch:
Expand All @@ -19,12 +19,8 @@ jobs:
with:
fetch-depth: 0

- name: Repack Linux-QQ
run: make

- name: Upload Artifact
if: success()
uses: actions/upload-artifact@v3
- name: Setup ArchLinux
uses: docker://archlinux:latest
with:
name: LinuxQQ-patched.deb
path: LinuxQQ-patched.deb
entrypoint: /bin/bash
args: .github/workflows/scripts/ci.sh
13 changes: 13 additions & 0 deletions .github/workflows/scripts/ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

set -ex

pacman -Syu --noconfirm --needed base-devel rustup pacman-contrib

rustup toolchain install stable
rustup toolchain install nightly

ls

useradd builder -m
sudo -u builder make

0 comments on commit 33912e0

Please sign in to comment.