forked from confidential-containers/infra
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (65 loc) · 1.88 KB
/
porter-gha-testing.yaml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Porter GHA Testing
run-name: ${{ github.actor }} is doing the porter GHA testing
on: [push]
jobs:
Explore-GitHub-Actions:
env:
RUSTC_VERSION: 1.72.0
runs-on: ubuntu-22.04
#runs-on: self-hosted
steps:
#- name: Checkout
# uses: actions/checkout@v4
##- name: Install expect
## run: sudo apt-get install -y expect
##- name: Install cosign
## uses: sigstore/cosign-installer@main
#- name: Rust toolchain installation
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: ${{ env.RUSTC_VERSION }}
# override: true
# components: rustfmt, clippy
# target: x86_64-unknown-linux-gnu
#- name: Log in to ghcr
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
#- name: Basic echo and docker version
# run: |
# echo "Start 1"
# docker --version
# echo "End"
##- name: Make unsig
## working-directory: container-images
## run: make unsig
##- name: Make cosign-sig
## working-directory: container-images
## env:
## COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
## run: make cosign-sig
- name: Check if gcc is here
run: |
gcc -dumpmachine
- name: What is my whatever
run: |
which clang
#- name: build main.c
# working-directory: try-static-link
# run: |
# gcc main.c
# ldd a.out
#- name: build main.c with static link
# working-directory: try-static-link
# run: |
# gcc -static main.c
# ldd a.out
#- name: Check for oras
# run: |
# oras --help
#- name: Check for rustc
# run: |
# rustc --version