From 80f665aca0000fa5bfc7a61c4b26551600784810 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sun, 17 May 2026 11:32:28 +0200 Subject: [PATCH] ci: remove CircleCI configuration Signed-off-by: deadprogram --- .circleci/config.yml | 119 ------------------------------------------- .dockerignore | 1 - README.md | 2 +- 3 files changed, 1 insertion(+), 121 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 1c54b623af..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,119 +0,0 @@ -version: 2.1 - -commands: - submodules: - steps: - - run: - name: "Pull submodules" - command: git submodule update --init - llvm-source-linux: - steps: - - restore_cache: - keys: - - llvm-source-19-v1 - - run: - name: "Fetch LLVM source" - command: make llvm-source - - save_cache: - key: llvm-source-19-v1 - paths: - - llvm-project/clang/lib/Headers - - llvm-project/clang/include - - llvm-project/compiler-rt - - llvm-project/lld/include - - llvm-project/llvm/include - hack-ninja-jobs: - steps: - - run: - name: "Hack Ninja to use less jobs" - command: | - echo -e '#!/bin/sh\n/usr/bin/ninja -j3 "$@"' > /go/bin/ninja - chmod +x /go/bin/ninja - build-binaryen-linux: - steps: - - restore_cache: - keys: - - binaryen-linux-v3 - - run: - name: "Build Binaryen" - command: | - make binaryen - - save_cache: - key: binaryen-linux-v3 - paths: - - build/wasm-opt - test-linux: - parameters: - llvm: - type: string - fmt-check: - type: boolean - default: true - steps: - - checkout - - submodules - - run: - name: "Install apt dependencies" - command: | - echo 'deb https://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-<> main' > /etc/apt/sources.list.d/llvm.list - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - - apt-get update - apt-get install --no-install-recommends -y \ - llvm-<>-dev \ - clang-<> \ - libclang-<>-dev \ - lld-<> \ - cmake \ - ninja-build - - hack-ninja-jobs - - build-binaryen-linux - - restore_cache: - keys: - - go-cache-v4-{{ checksum "go.mod" }}-{{ .Environment.CIRCLE_PREVIOUS_BUILD_NUM }} - - go-cache-v4-{{ checksum "go.mod" }} - - llvm-source-linux - - run: go install -tags=llvm<> . - - when: - condition: <> - steps: - - run: - # Do this before gen-device so that it doesn't check the - # formatting of generated files. - name: Check Go code formatting - command: make fmt-check lint - - run: make gen-device -j4 - # TODO: change this to -skip='TestErrors|TestWasm' with Go 1.20 - - run: go test -tags=llvm<> -short -run='TestBuild|TestTest|TestGetList|TestTraceback' - - run: make smoketest XTENSA=0 - - save_cache: - key: go-cache-v4-{{ checksum "go.mod" }}-{{ .Environment.CIRCLE_BUILD_NUM }} - paths: - - ~/.cache/go-build - - /go/pkg/mod - -jobs: - test-oldest: - # This tests our lowest supported versions of Go and LLVM, to make sure at - # least the smoke tests still pass. - docker: - - image: golang:1.23-bullseye - steps: - - test-linux: - llvm: "15" - resource_class: large - test-newest: - # This tests the latest supported LLVM version when linking against system - # libraries. - docker: - - image: golang:1.26-bookworm - steps: - - test-linux: - llvm: "20" - resource_class: large - -workflows: - test-all: - jobs: - - test-oldest - # disable this test, since CircleCI seems unable to download due to rate-limits on Dockerhub. - # - test-newest diff --git a/.dockerignore b/.dockerignore index b5efcaad57..3b4255b9d8 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,4 @@ build/ llvm-*/ .github -.circleci diff --git a/README.md b/README.md index 8399350c05..da81cba402 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # TinyGo - Go compiler for small places -[![Linux](https://github.com/tinygo-org/tinygo/actions/workflows/linux.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/linux.yml) [![macOS](https://github.com/tinygo-org/tinygo/actions/workflows/build-macos.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/build-macos.yml) [![Windows](https://github.com/tinygo-org/tinygo/actions/workflows/windows.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/windows.yml) [![Docker](https://github.com/tinygo-org/tinygo/actions/workflows/docker.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/docker.yml) [![Nix](https://github.com/tinygo-org/tinygo/actions/workflows/nix.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/nix.yml) [![CircleCI](https://circleci.com/gh/tinygo-org/tinygo/tree/dev.svg?style=svg)](https://circleci.com/gh/tinygo-org/tinygo/tree/dev) +[![Linux](https://github.com/tinygo-org/tinygo/actions/workflows/linux.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/linux.yml) [![macOS](https://github.com/tinygo-org/tinygo/actions/workflows/build-macos.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/build-macos.yml) [![Windows](https://github.com/tinygo-org/tinygo/actions/workflows/windows.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/windows.yml) [![Docker](https://github.com/tinygo-org/tinygo/actions/workflows/docker.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/docker.yml) [![Nix](https://github.com/tinygo-org/tinygo/actions/workflows/nix.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinygo/actions/workflows/nix.yml) TinyGo is a Go compiler intended for use in small places such as microcontrollers, WebAssembly (wasm/wasi), and command-line tools.