Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/coolgirl-multicart/coolgirl-multirom-builder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-11-06 22:13:58 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-11-06 22:23:12 +0300
commit39622eea2f2f25970bdd90fe8abb3c18fc3e442e (patch)
treed92556e2e782eb6398ff5eb8c44b9062d72ad5da
parentd5c24a037066a9fb9115f778345242f1c3b57472 (diff)
build.yaml
-rw-r--r--.github/workflows/build.yaml20
1 files changed, 11 insertions, 9 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 4398d52..5bad262 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -31,7 +31,7 @@ jobs:
mkdir -p ${{ env.OUTPUT_DIR }} &&
cp -fR *.asm Makefile LICENSE README.md configs spec demos games homebrew output
- name: Build NesTiler for Linux-x64
- run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r linux-x64 --no-self-contained -o ${{ env.TOOLS_DIR }}
+ run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r linux-x64 --no-self-contained -o ${{ env.TOOLS_DIR }} && rm -f ${{ env.TOOLS_DIR }}/*.md
- name: Build nesasm for Linux-x64
run: make -C tools_sources/nesasm/source EXEDIR=../../../${{ env.TOOLS_DIR }}
- name: Upload artifact for Linux-x64
@@ -41,10 +41,10 @@ jobs:
path: ${{ env.OUTPUT_DIR }}
- name: Clean
run: >-
- rm ${{ env.TOOLS_DIR }}/* &&
+ rm -f ${{ env.TOOLS_DIR }}/* &&
make -C tools_sources/nesasm/source clean
- name: Build NesTiler for Linux-ARM32
- run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r linux-arm --no-self-contained -o ${{ env.TOOLS_DIR }}
+ run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r linux-arm --no-self-contained -o ${{ env.TOOLS_DIR }} && rm -f ${{ env.TOOLS_DIR }}/*.md
- name: Build nesasm for Linux-ARM32
run: make -C tools_sources/nesasm/source EXEDIR=../../../${{ env.TOOLS_DIR }} CC=arm-linux-gnueabihf-gcc
- name: Upload artifact for Linux-ARM32
@@ -54,10 +54,10 @@ jobs:
path: ${{ env.OUTPUT_DIR }}
- name: Clean
run: >-
- rm ${{ env.TOOLS_DIR }}/* &&
+ rm -f ${{ env.TOOLS_DIR }}/* &&
make -C tools_sources/nesasm/source clean
- name: Build NesTiler for Linux-ARM64
- run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r linux-arm64 --no-self-contained -o ${{ env.TOOLS_DIR }}
+ run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r linux-arm64 --no-self-contained -o ${{ env.TOOLS_DIR }} && rm -f ${{ env.TOOLS_DIR }}/*.md
- name: Build nesasm for Linux-ARM64
run: make -C tools_sources/nesasm/source EXEDIR=../../../${{ env.TOOLS_DIR }} CC=aarch64-linux-gnu-gcc
- name: Upload artifact for Linux-ARM64
@@ -88,7 +88,7 @@ jobs:
mkdir -p ${{ env.OUTPUT_DIR }} &&
cp -fR *.asm Makefile LICENSE README.md configs spec demos games homebrew output
- name: Build NesTiler for MacOS-x64
- run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r osx-x64 --no-self-contained -o ${{ env.TOOLS_DIR }}
+ run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r osx-x64 --no-self-contained -o ${{ env.TOOLS_DIR }} && rm -f ${{ env.TOOLS_DIR }}/*.md
- name: Build nesasm for MacOS-x64
run: make -C tools_sources/nesasm/source EXEDIR=../../../${{ env.TOOLS_DIR }}
- name: Upload artifact for MacOS-x64
@@ -99,9 +99,6 @@ jobs:
build-windows:
runs-on: windows-latest
- defaults:
- run:
- shell: msys2 {0}
env:
APP_NAME: coolgirl-multirom-builder
OUTPUT_DIR: output
@@ -125,12 +122,17 @@ jobs:
git
libargp-devel
- name: Copy main files
+ shell: msys2 {0}
run: >-
mkdir -p ${{ env.OUTPUT_DIR }} &&
cp -fR *.asm Makefile LICENSE README.md configs spec demos games homebrew output
- name: Build NesTiler for Win-x64
run: dotnet publish tools_sources/NesTiler/NesTiler -c Release -r win-x64 --no-self-contained -o ${{ env.TOOLS_DIR }}
+ - name: Remove unnecessary files
+ shell: msys2 {0}
+ run: rm -f ${{ env.TOOLS_DIR }}/*.md
- name: Build nesasm for Win-x64
+ shell: msys2 {0}
run: make -C tools_sources/nesasm/source EXEDIR=../../../${{ env.TOOLS_DIR }}
- name: Upload artifact for Win-x64
uses: actions/upload-artifact@v3