diff --git a/.gitea/workflows/linux_amd64.yml b/.gitea/workflows/linux_amd64.yml new file mode 100644 index 0000000..9f8292d --- /dev/null +++ b/.gitea/workflows/linux_amd64.yml @@ -0,0 +1,40 @@ +name: Linux arm64 +run-name: Build And Test + +on: [push] + +env: + XMAKE_ROOT: "y" + +jobs: + Build: + runs-on: ubuntu-latest + steps: + - name: ๐Ÿงพ Check out + uses: actions/checkout@v3 + with: + submodules: "recursive" + + - name: ๐Ÿค– Install Cmake + run: | + apt update + apt install cmake crossbuild-essential-arm64 -y + + - name: ๐Ÿ— Setup XMake + uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: latest + actions-cache-folder: '.xmake-cache' + actions-cache-key: 'xmake-ubuntu' + + - name: ๐Ÿ—๏ธ Build + run: | + xmake f -m release -p linux -a x86_64 --trybuild=cmake + xmake require -v -j 10 --extra={system=false} libsdl2-dev + xmake + + - name: ๐Ÿš€ Upload + uses: actions/upload-artifact@v3 + with: + name: SimpleDrum_Linux_amd64.vst3 + path: ${{ github.workspace }}/build/SimpleDrum_artefacts/VST3/ \ No newline at end of file