Skip to content

Commit

Permalink
build: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arttet committed Dec 8, 2023
1 parent 0bb2126 commit 1bbf8b4
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
51 changes: 51 additions & 0 deletions .github/workflows/rust-compiler-builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Rust Compiler Builder

on:
push:
paths-ignore:
- '**/README.md'
schedule:
# https://crontab.guru/
# At 12:00 AM, only on Monday
- cron: 0 0 * * 1

jobs:
build:
strategy:
matrix:
os: [
# macos-11,
# macos-12,
macos-13,
]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Checkout Rust
uses: actions/checkout@v4
with:
repository: rust-lang/rust
submodules: true
path: rust

- name: Configure Rust
run: make configure

- name: Build Rust
run: make all
working-directory: ./rust

- name: Build Rust dists
run: make dist
working-directory: ./rust

# - name: Run tests
# run: make check
# working-directory: ./rust

- name: Archive tarballs
uses: actions/upload-artifact@v3
with:
path: "**/*.xz"

0 comments on commit 1bbf8b4

Please sign in to comment.