This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
85 lines (69 loc) · 1.96 KB
/
linux-builds.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: Linux
on:
pull_request:
branches:
- "*"
push:
branches:
- "main"
jobs:
build-64-release:
runs-on: "ubuntu-20.04"
name: Build 64-Bit Release
steps:
- uses: actions/checkout@v2
- name: Update Submodules
run: |
git submodule update --init --remote --recursive
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: "3.x"
architecture: "x64"
- name: Setup Discord SDK
run: sh ./setup.sh
- name: Configuring Python packages
run: |
python -c "import sys; print(sys.version)"
python -m pip install scons
python --version
scons --version
- name: Compilation
run: |
scons platform=linux target=release bits=64
- name: Remove SDK Shared Object
run: rm demo/bin/linux-64/libdiscord_game_sdk.so
- uses: actions/upload-artifact@v2
with:
name: gdsdk_64_release
path: demo/bin/linux-64/*
build-64-debug:
runs-on: "ubuntu-20.04"
name: Build 64-Bit Debug
steps:
- uses: actions/checkout@v2
- name: Update Submodules
run: |
git submodule update --init --remote --recursive
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: "3.x"
architecture: "x64"
- name: Setup Discord SDK
run: sh ./setup.sh
- name: Configuring Python packages
run: |
python -c "import sys; print(sys.version)"
python -m pip install scons
python --version
scons --version
- name: Compilation
run: |
scons platform=linux target=debug bits=64
- name: Remove SDK Shared Object
run: rm demo/bin/linux-64/libdiscord_game_sdk.so
- uses: actions/upload-artifact@v2
with:
name: gdsdk_64_debug
path: demo/bin/linux-64/*