Skip to content

first try create github ci #10

first try create github ci

first try create github ci #10

Workflow file for this run

name: Docker Image
on:
push:
branches: ["main"]
jobs:
build-image-builder:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Build the yanetplatform/builder
run: |
cd docker
build-autotest:
needs: build-image-builder
runs-on: ubuntu-latest
container:
image: yanetplatform/builder
steps:
- run: |
ls -l
meson setup --prefix=/target_autotest -Dtarget=autotest build_autotest
meson compile -C build_autotest
meson install -C build_autotest
build-unittest:
needs: build-image-builder
runs-on: ubuntu-latest
container:
image: yanetplatform/builder
steps:
- run: |
ls -l
meson setup --prefix=/target_unittest -Dtarget=unittest build_unittest
meson compile -C build_unittest
meson test -C build_unittest