moved exported files location to be in the addons/gdopus folder in th… #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-linux | |
on: [push] | |
jobs: | |
runMultipleCommands: | |
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: extension files | |
path: gdopus/gdextensiontest/bin/ | |
overwrite: true | |
- run: echo "finished, artifacts should be named 'extension files'" |