Skip to content

Commit

Permalink
Merge pull request #518 from ut-issl/feature/use-arkedge-build-ci-wor…
Browse files Browse the repository at this point in the history
…kflow

Use arkedge/workflows-c2a/c2a-build.yml for Build CI
  • Loading branch information
sksat authored Mar 16, 2023
2 parents e4143ed + 15f0ee0 commit d8c10b7
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 207 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build

on:
push:
branches:
- main
- develop
pull_request:

jobs:
minimum_user:
name: minimum user
uses: arkedge/workflows-c2a/.github/workflows/[email protected]
with:
c2a_dir: Examples/minimum_user
c2a_custom_setup: |
cd $GITHUB_WORKSPACE
ls -l
cd ./repo
pwd
ls -l
if [ $RUNNER_OS = 'Windows' ]; then
cmd "/C setup.bat"
else
./setup.sh
fi
second_obc_user:
name: 2nd obc user
uses: arkedge/workflows-c2a/.github/workflows/[email protected]
with:
c2a_dir: Examples/2nd_obc_user
c2a_custom_setup: |
cd $GITHUB_WORKSPACE
ls -l
cd ./repo
pwd
ls -l
if [ $RUNNER_OS = 'Windows' ]; then
cmd "/C setup.bat"
else
./setup.sh
fi
179 changes: 0 additions & 179 deletions .github/workflows/build_as_c89.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/build_as_cxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,6 @@ on:
pull_request:

jobs:
build_example_user_as_cxx:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
example:
- minimum_user
- 2nd_obc_user

steps:
- uses: actions/checkout@v3

- name: setup
shell: cmd
run: ./setup.bat

- name: cmake
working-directory: ./Examples/${{ matrix.example }}
run: |
mkdir build
cd build
cmake --version
cmake .. -A Win32
- name: build
working-directory: ./Examples/${{ matrix.example }}/build
run: cmake --build .

build_s2e_mockup:
runs-on: windows-latest
strategy:
Expand Down

0 comments on commit d8c10b7

Please sign in to comment.