Skip to content

Commit fdea309

Browse files
committed
add .github folder.
1 parent 256453c commit fdea309

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [ m1k1o ]

.github/workflows/build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: "CI for builds"
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build-amd64:
10+
name: amd64-${{ matrix.libc }}
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
include:
16+
- container: golang:1.19-bullseye
17+
libc: glibc
18+
- container: golang:1.19-alpine
19+
libc: musl
20+
21+
container:
22+
image: ${{ matrix.container }}
23+
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v3
27+
28+
- name: Build
29+
run: go build -ldflags="-s -w"
30+
31+
- name: Upload to releases
32+
uses: svenstaro/upload-release-action@v2
33+
id: attach_to_release
34+
with:
35+
file: go-transcode
36+
asset_name: go-transcode-amd64-${{ matrix.libc }}
37+
tag: ${{ github.ref }}
38+
overwrite: true

0 commit comments

Comments
 (0)