forked from Polprzewodnikowy/N64FlashcartMenu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve devcontainer flags for develop. Create different container image for develop.
- Loading branch information
1 parent
0068699
commit 2ed8d72
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ jobs: | |
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build N64FlashcartMenu ROM | ||
if: github.ref == 'refs/heads/main' | ||
uses: devcontainers/[email protected] | ||
with: | ||
imageName: ghcr.io/polprzewodnikowy/n64flashcartmenu-devcontainer | ||
|
@@ -39,6 +40,30 @@ jobs: | |
env: | ||
FLAGS: -DNDEBUG | ||
|
||
- name: Build N64FlashcartMenu pre-release ROM | ||
if: github.ref == 'refs/heads/develop' | ||
uses: devcontainers/[email protected] | ||
with: | ||
imageName: ghcr.io/polprzewodnikowy/n64flashcartmenu-devcontainer-develop | ||
cacheFrom: ghcr.io/polprzewodnikowy/n64flashcartmenu-devcontainer-develop | ||
push: ${{ github.repository_owner == 'Polprzewodnikowy' && 'filter' || 'never' }} | ||
runCmd: | | ||
make all -j | ||
env: | ||
FLAGS: -DNDEBUG -DBETA_SETTINGS | ||
|
||
- name: Build N64FlashcartMenu Debug ROM | ||
if: github.ref == 'refs/heads/debug' | ||
uses: devcontainers/[email protected] | ||
with: | ||
imageName: ghcr.io/polprzewodnikowy/n64flashcartmenu-devcontainer-develop | ||
cacheFrom: ghcr.io/polprzewodnikowy/n64flashcartmenu-devcontainer-develop | ||
push: 'never' | ||
runCmd: | | ||
make all -j | ||
env: | ||
FLAGS: -DDEBUG -DBETA_SETTINGS | ||
|
||
- name: Upload artifact (Standard ROM) | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|