Skip to content

Commit 11ec59d

Browse files
authored
Update build_on_demand.yml
1 parent 98022ec commit 11ec59d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/build_on_demand.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ jobs:
1717
repository: Sygmei/ObEngine
1818
path: obengine
1919
ref: ${{ github.event.release.name }}
20-
- name: Show content
21-
working-directory: ./obengine
22-
run: pwd; ls -al
23-
- name: Show content 2
24-
working-directory: obengine
25-
run: pwd; ls -al
2620
- name: Create build directory
2721
working-directory: ./obengine
2822
run: mkdir build
@@ -31,7 +25,7 @@ jobs:
3125
- name: Install CMake
3226
run: sudo apt-get install -y cmake
3327
- name: Install G++ and build-essential
34-
run: sudo apt-get install -y build-essential g++
28+
run: sudo apt-get install -y build-essential gcc-10 g++-10
3529
- name: Install git
3630
run: sudo apt-get install -y git
3731
- name: Install ALSA
@@ -42,6 +36,9 @@ jobs:
4236
run: "git clone --branch 2.5.1 --depth 1 http://github.com/SFML/SFML.git"
4337
- name: Compile and install SFML
4438
run: cd SFML; cmake .; make -j8; sudo make install
39+
env:
40+
CC: gcc-10
41+
CXX: g++-10
4542
- name: Compile ObEngine
4643
working-directory: ./obengine
4744
run: cd build; cmake -DBUILD_TESTS=ON -DBUILD_TOOLKIT=ON -DCMAKE_BUILD_TYPE=Release ..; make -j8

0 commit comments

Comments
 (0)