Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[58_7] Add CI for archlinux #1227

Merged
merged 10 commits into from
Oct 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/ci-xmake-archlinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build on Archlinux
on:
push:
branches: [ branch-1.2 ]
paths:
- 'src/**'
- '!src/Plugins/Macos/**'
- '!src/Plugins/Windows/**'
- 'tests/**'
- 'misc/xmake/packages.lua'
- 'xmake.lua'
- '.github/workflows/ci-xmake-archlinux.yml'
pull_request:
branches: [ branch-1.2 ]
paths:
- 'src/**'
- '!src/Plugins/Macos/**'
- '!src/Plugins/Windows/**'
- 'tests/**'
- 'misc/xmake/packages.lua'
- 'xmake.lua'
- '.github/workflows/ci-xmake-archlinux.yml'

env:
XMAKE_ROOT: y

jobs:
build:
strategy:
da-liii marked this conversation as resolved.
Show resolved Hide resolved
container: archlinux:base-devel
runs-on: ubuntu-22.04
steps:
- name: PacMan
run: |
sudo pacman -Syyu --noconfirm --needed
sudo pacman -S --noconfirm --needed qt6-base qt6-svg libpng zlib libjpeg curl python libxext xmake unzip
- uses: actions/checkout@v1
- name: Xrepo update
da-liii marked this conversation as resolved.
Show resolved Hide resolved
run: xmake repo --update --yes
- name: Config
run: xmake config -m release --yes
- name: Build
run: xmake build --yes -vD --jobs=8 --all
da-liii marked this conversation as resolved.
Show resolved Hide resolved