Skip to content

Use std threads instead of godot's #18

Use std threads instead of godot's

Use std threads instead of godot's #18

Workflow file for this run

name: 🛠️ Builds
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.runner }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- identifier: linux-debug
name: Linux Debug
runner: ubuntu-20.04
target: template_debug
platform: linux
arch: x86_64
- identifier: linux-release
name: Linux Release
runner: ubuntu-20.04
target: template_release
platform: linux
arch: x86_64
steps:
- name: Set up Python
uses: actions/setup-python@v2
- name: Set up SCons
shell: bash
run: |
python -c "import sys; print(sys.version)"
python -m pip install scons
scons --version
- name: Install libsystemd
shell: bash
run: |
sudo apt-get install libsystemd-dev
- name: Checkout project
uses: actions/checkout@v2
with:
submodules: recursive
- name: Compile extension
shell: sh
run: |
scons target='${{ matrix.target }}' platform='${{ matrix.platform }}' arch='${{ matrix.arch }}' -j2
ls -l project/addons/*/bin/
- name: Copy extra files to addon
shell: sh
run: |
for addon in ${{ github.workspace }}/project/addons/*/; do
cp --no-clobber '${{ github.workspace }}/README.md' '${{ github.workspace }}/LICENSE' "$addon"
done
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}
path: |
${{ github.workspace }}/project/