mirror of
				https://github.com/acmesh-official/acme.sh
				synced 2025-11-04 13:55:56 +08:00 
			
		
		
		
	add OpenBSD CI test: https://vmactions.org
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/FreeBSD.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/FreeBSD.yml
									
									
									
									
										vendored
									
									
								
							@@ -30,7 +30,7 @@ jobs:
 | 
			
		||||
         #  CA: "ZeroSSL RSA Domain Secure Site CA"
 | 
			
		||||
         #  CA_EMAIL: "githubtest@acme.sh"
 | 
			
		||||
         #  TEST_PREFERRED_CHAIN: ""
 | 
			
		||||
    runs-on: macos-10.15
 | 
			
		||||
    runs-on: macos-12
 | 
			
		||||
    env:
 | 
			
		||||
      TEST_LOCAL: 1
 | 
			
		||||
      TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										63
									
								
								.github/workflows/OpenBSD.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								.github/workflows/OpenBSD.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
			
		||||
name: OpenBSD
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - '*'
 | 
			
		||||
    paths:
 | 
			
		||||
      - '*.sh'
 | 
			
		||||
      - '.github/workflows/OpenBSD.yml'
 | 
			
		||||
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches:
 | 
			
		||||
      - dev
 | 
			
		||||
    paths:
 | 
			
		||||
      - '*.sh'
 | 
			
		||||
      - '.github/workflows/OpenBSD.yml'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  OpenBSD:
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        include:
 | 
			
		||||
         - TEST_ACME_Server: "LetsEncrypt.org_test"
 | 
			
		||||
           CA_ECDSA: ""
 | 
			
		||||
           CA: ""
 | 
			
		||||
           CA_EMAIL: ""
 | 
			
		||||
           TEST_PREFERRED_CHAIN: (STAGING) Pretend Pear X1
 | 
			
		||||
         #- TEST_ACME_Server: "ZeroSSL.com"
 | 
			
		||||
         #  CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA"
 | 
			
		||||
         #  CA: "ZeroSSL RSA Domain Secure Site CA"
 | 
			
		||||
         #  CA_EMAIL: "githubtest@acme.sh"
 | 
			
		||||
         #  TEST_PREFERRED_CHAIN: ""
 | 
			
		||||
    runs-on: macos-12
 | 
			
		||||
    env:
 | 
			
		||||
      TEST_LOCAL: 1
 | 
			
		||||
      TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }}
 | 
			
		||||
      CA_ECDSA: ${{ matrix.CA_ECDSA }}
 | 
			
		||||
      CA: ${{ matrix.CA }}
 | 
			
		||||
      CA_EMAIL: ${{ matrix.CA_EMAIL }}
 | 
			
		||||
      TEST_PREFERRED_CHAIN: ${{ matrix.TEST_PREFERRED_CHAIN }}
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
    - uses: vmactions/cf-tunnel@v0.0.3
 | 
			
		||||
      id: tunnel
 | 
			
		||||
      with:
 | 
			
		||||
        protocol: http
 | 
			
		||||
        port: 8080
 | 
			
		||||
    - name: Set envs
 | 
			
		||||
      run: echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
 | 
			
		||||
    - name: Clone acmetest
 | 
			
		||||
      run: cd .. && git clone https://github.com/acmesh-official/acmetest.git  && cp -r acme.sh acmetest/
 | 
			
		||||
    - uses: vmactions/openbsd-vm@v0.0.1
 | 
			
		||||
      with:
 | 
			
		||||
        envs: 'TEST_LOCAL TestingDomain TEST_ACME_Server CA_ECDSA CA CA_EMAIL TEST_PREFERRED_CHAIN'
 | 
			
		||||
        nat: |
 | 
			
		||||
          "8080": "80"
 | 
			
		||||
        prepare: pkg_add socat curl
 | 
			
		||||
        usesh: true
 | 
			
		||||
        run: |
 | 
			
		||||
          cd ../acmetest \
 | 
			
		||||
          && ./letest.sh
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/Solaris.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/Solaris.yml
									
									
									
									
										vendored
									
									
								
							@@ -30,7 +30,7 @@ jobs:
 | 
			
		||||
         #  CA: "ZeroSSL RSA Domain Secure Site CA"
 | 
			
		||||
         #  CA_EMAIL: "githubtest@acme.sh"
 | 
			
		||||
         #  TEST_PREFERRED_CHAIN: ""
 | 
			
		||||
    runs-on: macos-10.15
 | 
			
		||||
    runs-on: macos-12
 | 
			
		||||
    env:
 | 
			
		||||
      TEST_LOCAL: 1
 | 
			
		||||
      TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,7 @@
 | 
			
		||||
# An ACME Shell script: acme.sh 
 | 
			
		||||
 | 
			
		||||
[](https://github.com/acmesh-official/acme.sh/actions/workflows/FreeBSD.yml)
 | 
			
		||||
[](https://github.com/acmesh-official/acme.sh/actions/workflows/OpenBSD.yml)
 | 
			
		||||
[](https://github.com/acmesh-official/acme.sh/actions/workflows/MacOS.yml)
 | 
			
		||||
[](https://github.com/acmesh-official/acme.sh/actions/workflows/Ubuntu.yml)
 | 
			
		||||
[](https://github.com/acmesh-official/acme.sh/actions/workflows/Windows.yml)
 | 
			
		||||
@@ -68,7 +69,7 @@ Twitter: [@neilpangxa](https://twitter.com/neilpangxa)
 | 
			
		||||
|4|[](https://github.com/acmesh-official/acme.sh/actions/workflows/Solaris.yml)|Solaris
 | 
			
		||||
|5|[](https://github.com/acmesh-official/acme.sh/actions/workflows/Ubuntu.yml)| Ubuntu
 | 
			
		||||
|6|NA|pfsense
 | 
			
		||||
|7|NA|OpenBSD
 | 
			
		||||
|7|[](https://github.com/acmesh-official/acme.sh/actions/workflows/OpenBSD.yml)|OpenBSD
 | 
			
		||||
|8|[](https://github.com/acmesh-official/acme.sh/actions/workflows/Linux.yml)| Debian
 | 
			
		||||
|9|[](https://github.com/acmesh-official/acme.sh/actions/workflows/Linux.yml)|CentOS
 | 
			
		||||
|10|[](https://github.com/acmesh-official/acme.sh/actions/workflows/Linux.yml)|openSUSE
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user