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

Commit

Permalink
disable other platform builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyah Check committed Jan 3, 2020
1 parent 58db029 commit b82baa7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: Setup, Build, Test
strategy:
matrix:
go-version: [1.12.x, 1.13.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
go-version: [1.12.x]
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ NAME := ytd
PKG := github.com/ch3ck/$(NAME)
PREFIX?=$(shell pwd)
BUILDTAGS=
version=v1.1

.PHONY: clean all fmt vet build test install static
.DEFAULT: default
Expand All @@ -24,13 +25,13 @@ fmt:
test:
@echo "+ $@"
@find . -name \*.mp3 -delete #clean previous test files.
@go test -v -tags "$(BUILDTAGS) cgo" $(shell go list -m all)
@go test -v -tags "$(BUILDTAGS) cgo" $(shell go list)
@find . -name \*.mp3 -delete # clean previous test downloads
@go test -bench=. $(shell go list -m all)
@go test -bench=. $(shell go list)

vet:
@echo "+ $@"
@go vet $(shell go list -m all)
@go vet $(shell go list | grep -v vendor)

clean:
@echo "+ $@"
Expand All @@ -40,5 +41,5 @@ clean:

install:
@echo "+ $@"
@docker build -t ch3ck/ytd:v1 .
@docker build -t ch3ck/youtube-dl:$(version) .
@go install .

0 comments on commit b82baa7

Please sign in to comment.