updating build scripts to not use ICU
This commit is contained in:
parent
61de064575
commit
0be18205c8
4 changed files with 8 additions and 13 deletions
4
.github/workflows/basic-check.yml
vendored
4
.github/workflows/basic-check.yml
vendored
|
@ -17,12 +17,8 @@ jobs:
|
|||
- name: Install Linters
|
||||
run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0"
|
||||
- name: Build
|
||||
env:
|
||||
GO111MODULE: "on"
|
||||
run: go build ./...
|
||||
- name: Test
|
||||
env:
|
||||
GO111MODULE: "on"
|
||||
run: |
|
||||
sh ./goclean.sh
|
||||
|
||||
|
|
13
.github/workflows/create-release.yml
vendored
13
.github/workflows/create-release.yml
vendored
|
@ -12,8 +12,9 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
go: [1.16]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
os: [linux, darwin, windows]
|
||||
ar: [amd64, arm64]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
|
@ -21,13 +22,11 @@ jobs:
|
|||
go-version: ${{ matrix.go }}
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v2
|
||||
- name: Install coreutils, ICU for macOS
|
||||
if: matrix.os == 'macos-latest'
|
||||
run: brew install coreutils icu4c
|
||||
- name: Build executables
|
||||
env:
|
||||
GO111MODULE: "on"
|
||||
run: go build -trimpath -o artifacts/ --tags use_icu_normalization .
|
||||
GOOS: ${{ matrix.os }}
|
||||
GOARCH: ${{ matrix.ar }}
|
||||
run: go build -trimpath -o artifacts/ .
|
||||
- name: SHA256 sum
|
||||
run: sha256sum -b artifacts/* > artifacts/lbcd.sha256
|
||||
- name: Upload artifacts
|
||||
|
|
2
.github/workflows/full-sync-part-1.yml
vendored
2
.github/workflows/full-sync-part-1.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
- name: Checkout source
|
||||
uses: actions/checkout@v2
|
||||
- name: Build lbcd
|
||||
run: go build --tags use_icu_normalization .
|
||||
run: go build .
|
||||
- name: Create datadir
|
||||
run: echo "TEMP_DATA_DIR=$(mktemp -d)" >> $GITHUB_ENV
|
||||
- name: Run lbcd
|
||||
|
|
2
.github/workflows/full-sync-part-2.yml
vendored
2
.github/workflows/full-sync-part-2.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
- name: Checkout source
|
||||
uses: actions/checkout@v2
|
||||
- name: Build lbcd
|
||||
run: go build --tags use_icu_normalization .
|
||||
run: go build .
|
||||
- name: Create datadir
|
||||
run: echo "TEMP_DATA_DIR=$(mktemp -d)" >> $GITHUB_ENV
|
||||
- name: Copy initial data
|
||||
|
|
Loading…
Reference in a new issue