summaryrefslogtreecommitdiff
path: root/.github/workflows/linux-compile.yml
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2024-04-13 02:54:59 +0200
committerGitHub <noreply@github.com>2024-04-12 18:54:59 -0600
commite2c19fd4bc8e5f7db8e64629491b80a63c53ee98 (patch)
tree616962007475725799158741c69c453429a989ed /.github/workflows/linux-compile.yml
parent2d3278d0735386c37b37691dadfaee0dd687d76d (diff)
use github actions instead (#605)
* Create actions
Diffstat (limited to '.github/workflows/linux-compile.yml')
-rw-r--r--.github/workflows/linux-compile.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/linux-compile.yml b/.github/workflows/linux-compile.yml
new file mode 100644
index 000000000..7ef63168d
--- /dev/null
+++ b/.github/workflows/linux-compile.yml
@@ -0,0 +1,30 @@
+name: Linux Compile test
+
+on:
+ push:
+ branches: [ "*" ]
+ pull_request:
+ branches: [ "master" ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4.1.1
+ with:
+ submodules: "true"
+ - name: Get Complementary file
+ uses: actions/checkout@v4.1.1
+ with:
+ path: complementary_file
+ repository: UnspaghettifyKart/action-build-private-file
+ ssh-key: ${{ secrets.LINUX_SSH_PRIVATE_KEY }}
+ - name: Install dependencies
+ run: |
+ sudo apt install build-essential cmake pkg-config git binutils-mips-linux-gnu python3 zlib1g-dev libaudiofile-dev libcapstone-dev
+ - name: Build
+ run: |
+ cp -r complementary_file/* .
+ echo "${{ secrets.AES_KEY }}" | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in baserom.us.z64.aes -out baserom.us.z64
+ make assets
+ make -j \ No newline at end of file