hurl/.circleci/config.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2021-11-04 22:45:20 +03:00
version: 2.1
jobs:
test-ubuntu-arm64:
machine:
image: ubuntu-2004:current
2021-11-04 22:45:20 +03:00
resource_class: arm.medium
steps:
- checkout
2023-02-23 15:00:33 +03:00
- run:
2023-04-05 12:07:50 +03:00
name: Environment
command: |
bin/environment.sh
2021-11-04 22:45:20 +03:00
- run:
2023-04-05 12:07:50 +03:00
name: Install prerequisites
2021-11-04 22:45:20 +03:00
command: |
2023-04-05 12:07:50 +03:00
bin/install_prerequisites_ubuntu.sh
sudo apt update -qq
2023-04-05 12:07:50 +03:00
sudo apt install -y -qq libxml2-dev libxslt-dev libxml2-utils libcurl4-openssl-dev
- run:
name: Install rust
command: |
bin/install_rust.sh
2021-11-04 22:45:20 +03:00
- run:
2023-04-05 12:07:50 +03:00
name: Tests units
2021-11-04 22:45:20 +03:00
command: |
2022-12-11 13:57:19 +03:00
bin/test/test_prerequisites.sh
2023-04-05 12:07:50 +03:00
bin/test/test_unit.sh
- run:
name: Build release
command: |
bin/release/release.sh
- run:
name: Integration tests
command: |
PATH="${PWD}/target/release:${PATH}"
export PATH
bin/test/test_prerequisites.sh
bin/test/test_integ.sh
2021-11-04 22:45:20 +03:00
- store_artifacts:
2023-04-05 12:07:50 +03:00
path: integration/build/*.log
2021-11-04 22:45:20 +03:00
workflows:
2021-11-05 18:47:38 +03:00
tests-arm64:
2021-11-04 22:45:20 +03:00
jobs:
- test-ubuntu-arm64