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

Commit

Permalink
Implement linux export test as CI GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianpercic committed Apr 24, 2024
1 parent 7e356b4 commit d1a412a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/linux_export.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Linux Export Test

on: [push]

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
CARGO_INCREMENTAL: 0

jobs:
rust-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rui314/setup-mold@v1
- uses: Swatinem/rust-cache@v2
with:
workspaces: "rust -> target"
cache-all-crates: "true"
- name: Build
run: cd rust; cargo build --release

- name: Log Binary Location
run: |
echo "Binary is located at: ${{ github.workspace }}/rust/target/release"
- name: Execute Godot Export
run: |
cd ${{ github.workspace }}/rust/target/release

0 comments on commit d1a412a

Please sign in to comment.