forked from fireblizzard/agmod
-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (35 loc) · 1.04 KB
/
linux.yml
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
36
37
38
39
name: Linux build
on:
push:
paths:
- SourceCode/**
pull_request:
jobs:
build-linux-so-binary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install required build packages
run: |
sudo apt-get update
sudo apt-get update --fix-missing
sudo apt-get install dos2unix
sudo apt install build-essential
sudo apt install gcc
sudo apt install clang
sudo apt install libc6-dev-i386
sudo apt-get install gcc-multilib g++-multilib
- name: Build aura.so
working-directory: SourceCode/linux
run: |
chmod +x gendbg.sh
dos2unix gendbg.sh
make aura
- name: Publish Linux server binary.
uses: actions/upload-artifact@v4
with:
path: |
/home/runner/work/Aura-SE/Aura-SE/SourceCode/linux/release/aura.so
/home/runner/work/Aura-SE/Aura-SE/SourceCode/linux/release/aura.so.dbg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}