Skip to content

Commit

Permalink
Add CI. (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored May 14, 2024
1 parent 97daa5a commit 3033610
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions" # Necessary to update action hashs
directory: "/"
schedule:
interval: "weekly"
# Allow up to 3 opened pull requests for github-actions versions
open-pull-requests-limit: 3
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright (C) 2024 Toitware ApS.
#
# Use of this source code is governed by a BSD0-style license that can be
# found in the LICENSE file.

name: Build

on:
push

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Toit build environment
uses: ./toit/actions/setup-build
with:
toit-dir: toit
esp32: true

- name: Build
shell: bash
run: |
make init # Can be removed once the project is set up.
make
2 changes: 1 addition & 1 deletion toit

0 comments on commit 3033610

Please sign in to comment.