Skip to content

Commit e3849ee

Browse files
committed
Attempt to use arch to build CI
1 parent 7258a04 commit e3849ee

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/main.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on: [push, pull_request]
44

55
jobs:
66
linux:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
8+
container: archlinux:base-devel
89
steps:
9-
- name: Clone
10-
uses: actions/checkout@v1
10+
- uses: actions/checkout@v2
11+
- run: pacman --noconfirm -Syu
12+
- run: pacman --noconfirm -S boost botan python python-pip python-wheel zlib cmake ninja swig
1113
- run: pip install minecraft-data
12-
- run: sudo apt-get install ninja-build libboost1.71-all-dev libbotan-2-dev
1314
- run: cmake . -G Ninja
14-
env:
15-
CC: gcc-11
16-
CXX: g++-11
1715
- run: cmake --build . --target rikerbot_all

0 commit comments

Comments
 (0)