Skip to content

Update build-windows.yml to use the directory the scons config expects #28

Update build-windows.yml to use the directory the scons config expects

Update build-windows.yml to use the directory the scons config expects #28

Workflow file for this run

name: build-linux
on: [push]
jobs:
compile-for-linux:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v3
- name: Install SCons
run: |
pip install scons
- name: clone repository and submodules
run: git clone https://github.com/zodywoolsey/gdopus --recurse-submodules
- name: build opus static library with -fPIC
run: |
cd gdopus/src/opus
mkdir build
cd build
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON ..
cmake --build .
- name: compile extension with scons
run: |
cd gdopus/
scons
- uses: actions/upload-artifact@v4
with:
name: linux build files
path: gdopus/gdextensiontest/bin/
overwrite: true
- run: echo "finished, artifacts should be named 'extension files'"