-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.14 KB
/
basic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Description:
# - Setup Bend with GitHub Actions
# REF:
# - https://github.com/marketplace/actions/checkout
name: Setup-Bend@Dev
on:
push:
branches:
- develop
paths-ignore:
- '**.md'
jobs:
setup-bend:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Setup Bend@${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bend
uses: hustcer/setup-bend@develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check bend Version
run: bend --version
- name: Run bitonic sorter using Rust interpreter (Sequential)
shell: nu {0}
run: |
print $'Rust version: (ansi g)(rustc --version)(ansi reset)'
bend run examples/bitonic_sorter.bend -s
- name: Run bitonic sorter using C interpreter (Sequential)
shell: nu {0}
if: matrix.os != 'windows-latest'
run: |
print $'Gcc version: (ansi g)(gcc --version)(ansi reset)'
bend run-c examples/bitonic_sorter.bend -s