From 314247b9fe4bcb1f757cbe1c6a53ed858e92dfd8 Mon Sep 17 00:00:00 2001 From: Artyom Tetyukhin <51746822+arttet@users.noreply.github.com> Date: Thu, 7 Dec 2023 21:16:42 +0400 Subject: [PATCH] build: add CI --- .github/dependabot.yml | 6 ++++ .github/workflows/rust-compiler-builder.yml | 37 +++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/rust-compiler-builder.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..253bcb7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: daily diff --git a/.github/workflows/rust-compiler-builder.yml b/.github/workflows/rust-compiler-builder.yml new file mode 100644 index 0000000..c25b241 --- /dev/null +++ b/.github/workflows/rust-compiler-builder.yml @@ -0,0 +1,37 @@ +name: Rust Compiler Builder + +on: [push] + +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 + working-directory: ./rust + + - name: Install Rust + run: | + make dist + tree + working-directory: ./rust