Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Use github actions for CI (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
iotanbo authored Oct 30, 2021
1 parent e0c66cf commit cc194d2
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 112 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/macos-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Macos-latest

on: [push, pull_request]

jobs:

build-and-test:

strategy:
matrix:
go-version: [1.13, 1.17]
runs-on: macos-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v2

- name: Build
run: go build cmd/arc/main.go

- name: Test
run: go test -v ./...
26 changes: 26 additions & 0 deletions .github/workflows/ubuntu-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Ubuntu-latest

on: [push, pull_request]

jobs:

build-and-test:

strategy:
matrix:
go-version: [1.13, 1.17]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v2

- name: Build
run: go build cmd/arc/main.go

- name: Test
run: go test -v ./...
26 changes: 26 additions & 0 deletions .github/workflows/windows-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Windows-latest

on: [push, pull_request]

jobs:

build-and-test:

strategy:
matrix:
go-version: [1.13, 1.17]
runs-on: windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v2

- name: Build
run: go build cmd/arc/main.go

- name: Test
run: go test -v ./...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# archiver [![archiver GoDoc](https://img.shields.io/badge/reference-godoc-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/mholt/archiver?tab=doc) <a href="https://dev.azure.com/mholt-dev/Archiver/_build"><img src="https://img.shields.io/azure-devops/build/mholt-dev/1e14e7f7-f929-4fec-a1db-fa5a3c0d4ca9/2/master.svg?label=cross-platform%20tests&style=flat-square"></a>
# archiver [![archiver GoDoc](https://img.shields.io/badge/reference-godoc-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/mholt/archiver?tab=doc) [![Ubuntu-latest](https://github.com/mholt/archiver/actions/workflows/ubuntu-latest.yml/badge.svg)](https://github.com/mholt/archiver/actions/workflows/ubuntu-latest.yml) [![Macos-latest](https://github.com/mholt/archiver/actions/workflows/macos-latest.yml/badge.svg)](https://github.com/mholt/archiver/actions/workflows/macos-latest.yml) [![Windows-latest](https://github.com/mholt/archiver/actions/workflows/windows-latest.yml/badge.svg)](https://github.com/mholt/archiver/actions/workflows/windows-latest.yml)

Introducing **Archiver 3.1** - a cross-platform, multi-format archive utility and Go library. A powerful and flexible library meets an elegant CLI in this generic replacement for several platform-specific or format-specific archive utilities.

Expand Down
111 changes: 0 additions & 111 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit cc194d2

Please sign in to comment.