Skip to content

Commit

Permalink
Co-authored-by: CryroFox <[email protected]>
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel J. Newsome <[email protected]>
  • Loading branch information
Speak2Erase committed May 4, 2022
2 parents a69be9b + 449cc84 commit c1f26f4
Show file tree
Hide file tree
Showing 157 changed files with 1,799 additions and 3,251 deletions.
142 changes: 0 additions & 142 deletions .github/workflows/build-mys2.yml

This file was deleted.

91 changes: 0 additions & 91 deletions .github/workflows/build-standalone.yaml

This file was deleted.

91 changes: 0 additions & 91 deletions .github/workflows/build-steam.yaml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build ModShot Ubuntu
on: workflow_dispatch
jobs:
build-ubuntu:
name: Build ModShot for Linux
runs-on: ubuntu-latest
strategy:
matrix:
ruby_ver: ['3.1', '3.0', '2.7']
steam: [true, false]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- name: Build
working-directory: ${{ github.workspace }}
run: |
bash setup.sh
pip3 install meson ninja
cd linux
make RUBY_VER=${{ matrix.ruby_ver }}
source vars.sh
cd ..
meson build -Dmri_version=${{ matrix.ruby_ver }} --prefix=$PWD/out/ -Dsteam=${{ matrix.steam }}
cd build && ninja install
- name: Create dist folder
run: |
mkdir ${{ runner.temp }}/built_artifact;
mv ${{ github.workspace }}/out/* ${{ runner.temp }}/built_artifact/;
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: modshot_build_ubuntu_rb-${{ matrix.ruby_ver }}_steam-${{ matrix.steam }}
path: ${{ runner.temp }}/built_artifact
Loading

0 comments on commit c1f26f4

Please sign in to comment.