forked from wolfSSL/wolfssl
-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (30 loc) · 975 Bytes
/
self-hosted-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Self-Hosted Runner Test
# START OF COMMON SECTION
on:
push:
branches:
- ED25519_SHA2_fix
# END OF COMMON SECTION
jobs:
test:
# Don't run this on downstream forks:
if: github.repository_owner == 'gojimmypi'
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
echo "apt-get install shellcheck"
ls /mnt/c/github
- name: Run tests
run: |
whoami
- name: Send repository dispatch to wolfssl-actions
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.WOLFSSL_ACTION_TOKEN }}" \
https://api.github.com/repos/gojimmypi/wolfssl-actions/dispatches \
-H "X-GitHub-Api-Version: 2022-11-28" \
-d '{"event_type":"espressif_test","client_payload":{"unit":false,"integration":true}}'