git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

.github/workflows/sanity.yml

      1 name: "Bulidability and Sanity"
      2 on:
      3   push:
      4     branches:
      5       - master
      6       - '*'
      7       - '!libretro'
      8 
      9 jobs:
     10   sanity:
     11     strategy:
     12       fail-fast: false
     13       matrix:
     14         os: [macos-latest, ubuntu-latest, ubuntu-22.04]
     15         cc: [gcc, clang]
     16         include:
     17         - os: macos-latest
     18           cc: clang
     19           extra_targets: cocoa ios-ipa ios-deb
     20         exclude:
     21         - os: macos-latest
     22           cc: gcc
     23     runs-on: ${{ matrix.os }}
     24     steps:
     25       - uses: actions/checkout@v3
     26       - name: Install deps
     27         shell: bash
     28         run: |
     29           ./.github/actions/install_deps.sh ${{ matrix.os }}
     30       - name: Build
     31         run: |
     32           ${{ matrix.cc }} -v; (make -j all CONF=release CC=${{ matrix.cc }} || (echo "==== Build Failed ==="; make all CONF=release CC=${{ matrix.cc }}))
     33       - name: Sanity tests
     34         shell: bash
     35         run: |
     36           ./.github/actions/sanity_tests.sh
     37       - name: Upload binaries
     38         uses: actions/upload-artifact@v4
     39         with:
     40           name: sameboy-canary-${{ matrix.os }}-${{ matrix.cc }}
     41           path: |
     42             build/bin
     43             build/lib
     44             build/include

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.