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 2672a2d commit 85015b0
Show file tree
Hide file tree
Showing 2 changed files with 58 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
52 changes: 52 additions & 0 deletions .github/workflows/rust-compiler-builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
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 dist
run: make dist
working-directory: ./rust

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

- name: Archive Rust dist
uses: actions/upload-artifact@v3
with:
name: rust
path: ./rust/build/dist/*.xz

0 comments on commit 85015b0

Please sign in to comment.