Texture support in geo nodes #20
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: ["v[0-9]+.[0-9]+.[0-9]+*"] | |
jobs: | |
linux_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
sudo apt-get update | |
sudo apt-get install libasound2-dev | |
pkg-config --libs --cflags alsa | |
sudo apt-get install libgtk-3-dev | |
cd creator | |
cargo build --verbose --release | |
- name: Move Resources | |
run: | | |
mv target/release/eldiron . | |
tar -zcvf eldiron-x86_64-unknown-linux-gnu.tar.gz eldiron | |
mkdir output | |
mv eldiron-*.gz output/ | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Linux | |
path: output | |
windows_build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
cd creator | |
cargo build --verbose --release | |
- name: Move Resources | |
run: | | |
mv target/release/eldiron.exe . | |
tar -zcvf eldiron-x86_64-pc-windows-msvc.tar.gz eldiron.exe | |
mkdir output | |
mv eldiron-*.gz output/ | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Windows | |
path: output | |
linux_release: | |
runs-on: ubuntu-latest | |
needs: linux_build | |
env: | |
CARGO_BUNDLE_SKIP_BUILD: true | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: Linux | |
- name: Extract Artifacts | |
run: | | |
tar -zxvf eldiron-*.gz | |
- name: Install Dependencies | |
run: cargo install [email protected] | |
- name: Create Deb | |
run: | | |
mkdir -p target/release | |
cp eldiron target/release | |
cd creator | |
cargo bundle --release --bin eldiron | |
- name: Rename | |
run: mv target/release/bundle/deb/*.deb Eldiron.deb | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
Eldiron.deb | |
eldiron-*.gz | |
windows_release: | |
runs-on: windows-latest | |
needs: windows_build | |
permissions: | |
contents: write | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: Windows | |
- name: Extract Artifacts | |
run: | | |
tar -zxvf eldiron-*.gz | |
- name: Install WiX | |
run: nuget install WiX -Version 3.11.2 | |
- name: Create MSI Installer | |
run: | | |
./WiX.*/tools/candle.exe -arch "x64" -ext WixUIExtension -ext WixUtilExtension \ | |
-out "./eldiron.wixobj" "./build/windows/wix/eldiron.wxs" | |
./WiX.*/tools/light.exe -ext WixUIExtension -ext WixUtilExtension \ | |
-out "./Eldiron.msi" -sice:ICE61 -sice:ICE91 "./eldiron.wixobj" | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
Eldiron.msi | |
eldiron-*.gz |