Skip to content

Commit

Permalink
Merge pull request #98 from gamercade-io/add_app
Browse files Browse the repository at this point in the history
Add Platform App
  • Loading branch information
RobDavenport committed Apr 23, 2024
2 parents ab3919b + d38d522 commit 3afd794
Show file tree
Hide file tree
Showing 111 changed files with 20,893 additions and 1,064 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential librust-atk-sys-dev libgtk-3-dev \
gcc-multilib libpq-dev libxcb-shape0-dev libxcb-xfixes0-dev \
libasound2-dev portaudio19-dev libpulse-dev libdbus-1-dev libudev-dev
libasound2-dev portaudio19-dev libpulse-dev libdbus-1-dev libudev-dev protobuf-compiler
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -105,3 +105,23 @@ jobs:
asset_path: ./target/release/gccl.exe
asset_name: gccl-${{ matrix.release_suffix }}.exe
asset_content_type: application/zip # required by GitHub API

- name: Publish App for Mac & Linux
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
uses: WebFreak001/deploy-nightly@v1.1.0
with:
upload_url: https://uploads.github.com/repos/gamercade-io/gamercade_console/releases/73475292/assets{?name,label} # find out this value by opening https://api.github.com/repos/<owner>/<repo>/releases in your browser and copy the full "upload_url" value including the {?name,label} part
release_id: 73475292 # same as above (id can just be taken out the upload_url, it's used to find old releases)
asset_path: ./target/release/app
asset_name: gamercade_app-${{ matrix.release_suffix }}
asset_content_type: application/zip # required by GitHub API

- name: Publish App for Windows
if: matrix.os == 'windows-latest'
uses: WebFreak001/deploy-nightly@v1.1.0
with:
upload_url: https://uploads.github.com/repos/gamercade-io/gamercade_console/releases/73475292/assets{?name,label} # find out this value by opening https://api.github.com/repos/<owner>/<repo>/releases in your browser and copy the full "upload_url" value including the {?name,label} part
release_id: 73475292 # same as above (id can just be taken out the upload_url, it's used to find old releases)
asset_path: ./target/release/app.exe
asset_name: gamercade_app-${{ matrix.release_suffix }}.exe
asset_content_type: application/zip # required by GitHub API
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential librust-atk-sys-dev libgtk-3-dev \
gcc-multilib libpq-dev libxcb-shape0-dev libxcb-xfixes0-dev \
libasound2-dev portaudio19-dev libpulse-dev libdbus-1-dev libudev-dev
libasound2-dev portaudio19-dev libpulse-dev libdbus-1-dev libudev-dev protobuf-compiler
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
Expand All @@ -75,7 +75,7 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential librust-atk-sys-dev libgtk-3-dev \
gcc-multilib libpq-dev libxcb-shape0-dev libxcb-xfixes0-dev \
libasound2-dev portaudio19-dev libpulse-dev libdbus-1-dev libudev-dev
libasound2-dev portaudio19-dev libpulse-dev libdbus-1-dev libudev-dev protobuf-compiler
- uses: Swatinem/rust-cache@v2
- name: Install nextest
uses: taiki-e/install-action@nextest
Expand All @@ -100,7 +100,7 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential librust-atk-sys-dev libgtk-3-dev \
gcc-multilib libpq-dev libxcb-shape0-dev libxcb-xfixes0-dev \
libasound2-dev portaudio19-dev libpulse-dev libdbus-1-dev libudev-dev
libasound2-dev portaudio19-dev libpulse-dev libdbus-1-dev libudev-dev protobuf-compiler
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/target
/keyboardInput.json
/keyboardInput.json
*.db
/roms
Loading

0 comments on commit 3afd794

Please sign in to comment.