Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alekseifedotov committed Jan 30, 2025
1 parent 3ce70ee commit e4ee7eb
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/update-agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Github workflow for update-agent

name: update-agent
on:
pull_request:
workflow_dispatch:
workflow_call:
secrets:
GIT_HUB_TOKEN:
required: true
CACHIX_AUTH_TOKEN:
required: false
push:
branches:
- main
- prod
tags:
- '**'

jobs:
test:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install podman libguestfs-tools pkg-config libssl-dev build-essential cargo
cargo install nu --locked
- name: Build
run: |
cargo build
- name: Run functional tests
run: |
./t/podman-runner.nu mock mock_path
./t/podman-runner.nu run target/debug/orb-update-agent mock_path
./t/podman-runner.nu check mock_path

0 comments on commit e4ee7eb

Please sign in to comment.