Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Fix actions 2 (#27) #44

Fix actions 2 (#27)

Fix actions 2 (#27) #44

Workflow file for this run

name: Build Linux
on: push
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
BUILD_TYPE: [Shipping]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Update Stuff
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev libnotify-dev libtorrent-rasterbar-dev pkgconf
wget http://ftp.debian.org/debian/pool/main/libt/libtorrent-rasterbar/libtorrent-rasterbar2.0_2.0.10-1_amd64.deb
sudo dpkg -i libtorrent-rasterbar2.0_2.0.10-1_amd64.deb
wget http://ftp.debian.org/debian/pool/main/libt/libtorrent-rasterbar/libtorrent-rasterbar-dev_2.0.10-1_amd64.deb
sudo dpkg -i libtorrent-rasterbar-dev_2.0.10-1_amd64.deb
- name: ccache
uses: hendrikmuhs/[email protected]
- name: Configure CMake
run: cmake -B ${{github.workspace}}/Workspace -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}} -DGODOT=1 -DGODOT_GDEXTENSION_DIR="gdextension" -DGODOT_CPP_SYSTEM_HEADERS=ON -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
- name: Build
run: cmake --build ${{github.workspace}}/Workspace --config ${{matrix.BUILD_TYPE}}
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: linux
path: ${{github.workspace}}/Code/binding/lib