Skip to content

ci: Fix triggers (#1923) #868

ci: Fix triggers (#1923)

ci: Fix triggers (#1923) #868

Workflow file for this run

#[###################### GNU General Public License 3.0 ######################]#
# #
# Copyright (C) 2017─2023 Shuhei Nogawa #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <https://www.gnu.org/licenses/>. #
# #
#[############################################################################]#
name: Build
on:
push:
paths:
- '.github/workflows/test.yaml'
- 'example/**'
- 'moe.nimble'
- 'src/**'
- 'tests/**'
branches:
- develop
- master
pull_request:
paths:
- '.github/workflows/build.yaml'
- 'moe.nimble'
- 'src/**'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
nim: [ '1.6.2', 'stable', 'devel' ]
name: Build on ${{ matrix.nim }}
steps:
- uses: actions/checkout@v4.1.1
- name: Setup nim
uses: jiro4989/setup-nim-action@v1.4.10
with:
nim-version: ${{ matrix.nim }}
- run: nimble build -y