summaryrefslogtreecommitdiff
path: root/.github/workflows/linux-compile.yml
blob: c5893fe5db7d7e30f17fc2240b9ec5a292e9c0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Linux Compile test

on:
    push:
      branches: [ "*" ]
    pull_request:
      branches: [ "master" ]

jobs:
  build:
    if: 0
    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