Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
goofyclown authored Aug 28, 2024
1 parent 020095c commit 4987889
Showing 1 changed file with 9 additions and 33 deletions.
42 changes: 9 additions & 33 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,14 @@ on:

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: RelWithDebInfo # is this even used!?
BUILD_TYPE: RelWithDebInfo

jobs:
wasynth:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./Wasynth
steps:
- uses: actions/checkout@v3

- name: Clone Wasynth
run: |
git clone https://github.com/Rerumu/Wasynth.git Wasynth
ls -la "./Wasynth"
- name: Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
target: x86_64-unknown-linux-gnu

- uses: Swatinem/rust-cache@v1

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --target x86_64-unknown-linux-gnu --bin wasm2luajit --bin wasm2luau --release
web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
repository: emscripten-core/emsdk
path: emsdk
Expand All @@ -52,11 +26,13 @@ jobs:
cd emsdk
./emsdk install latest
./emsdk activate latest
- name: Checkout submodules
- name: Add Wasynth
run: |
cd ../
git submodule update --init --recursive
curl -L -o ./wasm2luau https://github.com/Rerumu/Wasynth/releases/latest/download/wasm2luau
chmod +x ./wasm2luau
ls -la "./"
- name: Checkout submodules
run: git submodule update --init --recursive
- name: make
run: |
source emsdk/emsdk_env.sh
Expand Down

0 comments on commit 4987889

Please sign in to comment.