Skip to content

chore: add working directory to ci path #4

chore: add working directory to ci path

chore: add working directory to ci path #4

name: C/Dart Interoperability Tests
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
at_chops:
runs-on: ubuntu-latest
env:
working-directory: tests/c_dart_interop_tests
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: true
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 # v1.6.2
- name: get atchops c module
uses: ./.github/composite/update-submodule
with:
module: c/at_c
- name: Build C at_chops dll
working-directory: ${{ env.working-directory }}
run: |
cmake -S . -B build
sudo cmake --build build
- name: get at_chops dart module
uses: ./.github/composite/update-submodule
with:
module: dart/at_libraries
- name: Dart test
working-directory: ${{ env.working-directory }}
run: |
dart pub get
dart test