diff options
| author | Arisotura <thetotalworm@gmail.com> | 2020-12-04 18:28:15 +0100 |
|---|---|---|
| committer | Arisotura <thetotalworm@gmail.com> | 2020-12-04 18:28:15 +0100 |
| commit | 129018a6626cbec915ef73484c51c9d07af8e8b9 (patch) | |
| tree | 8e5712bd241319731f7b6ade3363cefe845e3a5e /.github | |
| parent | 6aad429383015a0ac135b081931ae9c5876a7ad0 (diff) | |
| parent | 42e083960e52cce31589714dcc7fab8e173efb81 (diff) | |
Merge remote-tracking branch 'remotes/origin/master' into dsi_camera
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-macos.yml | 39 | ||||
| -rw-r--r-- | .github/workflows/build-ubuntu-aarch64.yml | 1 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml new file mode 100644 index 0000000..e2b942a --- /dev/null +++ b/.github/workflows/build-macos.yml @@ -0,0 +1,39 @@ +name: CMake Build (macOS x86-64) + +on: + push: + branches: + - master + pull_request: + branches: + - master + +env: + BUILD_TYPE: Release + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v1 + - name: Install dependencies + working-directory: ${{runner.workspace}} + run: | + brew install cmake sdl2 qt5 libslirp + - name: Create build environment + run: mkdir ${{runner.workspace}}/build + - name: Configure + working-directory: ${{runner.workspace}}/build + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5 + - name: Make + working-directory: ${{runner.workspace}}/build + run: | + make -j$(sysctl -n hw.ncpu) + mkdir dist + cp -r melonDS.app dist + - uses: actions/upload-artifact@v1 + with: + name: melonDS.app + path: ${{runner.workspace}}/build/dist diff --git a/.github/workflows/build-ubuntu-aarch64.yml b/.github/workflows/build-ubuntu-aarch64.yml index 6fd59b2..6d1a317 100644 --- a/.github/workflows/build-ubuntu-aarch64.yml +++ b/.github/workflows/build-ubuntu-aarch64.yml @@ -29,6 +29,7 @@ jobs: shell: bash working-directory: ${{runner.workspace}} run: | + sudo rm -f /etc/apt/sources.list.d/kubernetes.list sudo dpkg --add-architecture arm64 sudo sh -c "sed \"s|^deb \([a-z\.:/]*\) \([a-z\-]*\) \(.*\)$|deb [arch=amd64] \1 \2 \3\ndeb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports \2 \3|\" /etc/apt/sources.list > /etc/apt/sources.list.new" sudo rm /etc/apt/sources.list |