Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 #14

Merged
merged 70 commits into from
May 25, 2021
Merged

V2 #14

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
dd1769d
add detect script
tonistiigi Nov 27, 2020
0d6cd3d
detect: add tests
tonistiigi Nov 27, 2020
c324f87
util: add bats-assert helper
tonistiigi Nov 27, 2020
9d2c153
add xx-apk script
tonistiigi Nov 28, 2020
4ea475b
refactor scripts into base
tonistiigi Dec 21, 2020
453a790
add usage to xx-info
tonistiigi Dec 21, 2020
6c8ee3d
allow xx-apk to take any command
tonistiigi Dec 21, 2020
9499bc5
add apk tests
tonistiigi Dec 21, 2020
e19406e
inital version of xx-verify
tonistiigi Dec 21, 2020
808bc17
add shfmt
tonistiigi Dec 21, 2020
c8a1577
xx-cc first version
tonistiigi Dec 21, 2020
f2d070d
check amd64 in info tests
tonistiigi Dec 21, 2020
189dcba
tests for xx-cc
tonistiigi Dec 30, 2020
354963c
test installed packages only for apk
tonistiigi Dec 30, 2020
b4a8d6a
add 386 to xx-verify
tonistiigi Dec 30, 2020
30de579
add armv6 c++ test
tonistiigi Dec 30, 2020
e0824dd
add wrap/unwrap to xx-cc
tonistiigi Dec 30, 2020
97e677d
fix xx-cc formatting
tonistiigi Dec 30, 2020
6cec50d
xx-go support
tonistiigi Dec 31, 2020
9df5db6
fix apk caching
tonistiigi Dec 31, 2020
4a2c154
github: add test workflow
tonistiigi Dec 31, 2020
0caf8e1
allow workflows in v2 branch
tonistiigi Dec 31, 2020
4f192a8
add formatting validation to tests
tonistiigi Dec 31, 2020
b551202
add wrap/unwrap to xx-go
tonistiigi Dec 31, 2020
ebd7fbb
fix arm variant test
tonistiigi Dec 31, 2020
747d8d5
allow testing different base image versions
tonistiigi Jan 3, 2021
25706d5
xx-apt support for debian
tonistiigi Jan 3, 2021
cbf849c
xx-clang support for debian
tonistiigi Jan 3, 2021
d948bdc
debian support for xx-go
tonistiigi Jan 3, 2021
279c9e6
add pkg-config per target
tonistiigi Jan 19, 2021
787c240
add cmake defines to xx-cc
tonistiigi Jan 25, 2021
08aa4ff
add base target to bakefile
tonistiigi Feb 1, 2021
3b1cdb6
allow duple format
tonistiigi Feb 8, 2021
9af6c68
darwin names support
tonistiigi Feb 14, 2021
44cfbf1
fix apt fallback detection
tonistiigi Feb 16, 2021
1b606ea
w64-mingw support
tonistiigi Feb 16, 2021
f3895c6
newuidmap
tonistiigi Jan 18, 2021
5ecee8e
binutils
tonistiigi Jan 18, 2021
88aff4b
cctools sigtool ld64
tonistiigi Jan 19, 2021
69289ff
compiler-rt && libcxx
tonistiigi Jan 25, 2021
be591ed
use builtin cmake-defines
tonistiigi Jan 27, 2021
9ca8fe2
add linker flags to sigtool
tonistiigi Feb 12, 2021
79e5cec
more darwin compatibility and testing
tonistiigi Feb 21, 2021
c2ff90c
allow sdk updates
tonistiigi Feb 21, 2021
b47c5bd
set ar and pkgconfig on xx-go
tonistiigi Feb 22, 2021
8927cf5
add binutils bake targets
tonistiigi Feb 22, 2021
120682c
handle missing lld in s390x
tonistiigi Feb 22, 2021
72f2e70
add static ld targets
tonistiigi Feb 22, 2021
e7539ec
rename duple to pair
tonistiigi Feb 22, 2021
70dba67
ld fixes
tonistiigi Mar 1, 2021
3a41d44
use normalized names for ld
tonistiigi Mar 1, 2021
b84ed32
add ld download support
tonistiigi Mar 1, 2021
28e1d54
add ld64 bake target
tonistiigi Mar 2, 2021
4541c71
update ld64 darwin support
tonistiigi Mar 3, 2021
f08f595
sdk-extras target
tonistiigi Mar 3, 2021
1b51f93
only check static on linux
tonistiigi Mar 3, 2021
a1d33e4
windows layer incompatibility hack
tonistiigi Mar 3, 2021
8bc778f
fix 386 windows verify
tonistiigi Mar 3, 2021
d4e5ddd
define unsupported architectures
tonistiigi Mar 3, 2021
ec515d8
update ld64 download on non-alpine
tonistiigi Mar 3, 2021
e3d6e5b
add windres script
tonistiigi Mar 5, 2021
95fac1d
update pkg-config to sysroot variable
tonistiigi May 5, 2021
8f6f4a8
typo fix
tonistiigi May 5, 2021
e845cc4
prefer llvm-strip if installed
tonistiigi May 5, 2021
3ca99f2
fix debian arm64 test
tonistiigi May 5, 2021
bd56e72
fix native-c-ld test
tonistiigi May 5, 2021
c1a3c1e
allow more default vendor names for debian
tonistiigi May 6, 2021
41f7f39
hack: add shellcheck
tonistiigi May 23, 2021
a7b0e77
readme: update definition of new commands (incomplete)
tonistiigi May 24, 2021
7046934
readme: add descriptions for c and go
tonistiigi May 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/bats-assert.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: bats-assert

on:
push:
branches:
- 'master'
- 'v2'
paths:
- '.github/workflows/bats-assert.yml'
- 'util/bats-assert/**'
pull_request:
branches:
- 'master'
paths:
- '.github/workflows/bats-assert.yml'
- 'util/bats-assert/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
-
name: Test
working-directory: ./util/bats-assert
run: docker buildx bake test
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1.6.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Publish
if: github.ref == 'pull_refs/heads/master'
working-directory: ./util/bats-assert
run: docker buildx bake all --push
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test

on:
push:
branches:
- 'master'
- 'v2'
pull_request:
branches:
- 'master'
- 'v2'

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
-
name: Base
run: |
docker buildx bake base --progress=plain
-
name: Test
run: |
docker buildx bake test --progress=plain

24 changes: 24 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: validate

on:
push:
branches:
- 'master'
- 'v2'
pull_request:
branches:
- 'master'
- 'v2'

jobs:
validate:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Run
run: |
./hack/validate-shfmt
./hack/shellcheck
Loading