build.yaml (1453B)
1 name: build 2 3 on: 4 push: 5 branches: 6 - master 7 pull_request: 8 types: [opened, synchronize] 9 branches: 10 - 'master' 11 release: 12 types: [published] 13 14 concurrency: 15 group: ${{ github.workflow }}-${{ github.ref }} 16 cancel-in-progress: true 17 18 jobs: 19 test: 20 runs-on: ${{ matrix.os }} 21 strategy: 22 fail-fast: false 23 matrix: 24 os: [ubuntu-latest, macos-latest, windows-latest] 25 emacs_version: 26 - "26.3" 27 - "27.2" 28 - "28.2" 29 experimental: [false] 30 include: 31 - os: ubuntu-latest 32 emacs_version: snapshot 33 experimental: true 34 - os: macos-latest 35 emacs_version: snapshot 36 experimental: true 37 - os: windows-latest 38 emacs_version: snapshot 39 experimental: true 40 continue-on-error: ${{ matrix.experimental }} 41 42 steps: 43 - name: Checkout 44 uses: actions/checkout@v3 45 with: 46 submodules: recursive 47 48 - name: Setup Emacs 49 uses: jcs090218/setup-emacs@master 50 with: 51 version: ${{ matrix.emacs_version }} 52 53 - uses: emacs-eask/setup-eask@master 54 with: 55 version: 'snapshot' 56 57 - name: Run tests (Unix) 58 if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' 59 run: make check-unix 60 61 - name: Run tests (Windows) 62 if: matrix.os == 'windows-latest' 63 run: make check-dos