Skip to content

Commit

Permalink
CI: Add new CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yfblock committed Sep 13, 2024
1 parent dc7f2b3 commit 15a8297
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/test-extranel.yaml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build Example CI

on:
workflow_dispatch:
push:
jobs:
test-build:
runs-on: ubuntu-latest
container:
image: archlinux:base
volumes:
- .:/code
strategy:
fail-fast: false
matrix:
arch: [x86_64, riscv64, aarch64, loongarch64]
include:
- arch: aarch64
target: aarch64-unknown-none-softfloat
- arch: riscv64
target: riscv64gc-unknown-none-elf
- arch: x86_64
target: x86_64-unknown-none
- arch: loongarch64
target: loongarch64-unknown-none
steps:
- uses: actions/checkout@v4
- name: Install generaic tools
run: yes | pacman -Syy make cmake rustup gcc
- name: setup rust toolchain
run: rustup default nightly && cargo install cargo-binutils
- name: Test Build ${{ matrix.arch }}
run: cargo build --release --target ${{ matrix.target}}

0 comments on commit 15a8297

Please sign in to comment.